Started on Reflector.go

This commit is contained in:
Leopere 2018-10-08 16:53:51 -04:00
parent 206763665f
commit b08dcc46a6
14 changed files with 29 additions and 1 deletions

View file

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2018 LBRY Inc
Copyright (c) 2018 2018 LBRY Inc
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

0
reflector.go/.env Normal file
View file

10
reflector.go/Dockerfile Normal file
View file

@ -0,0 +1,10 @@
## base image for github.com/lbryio/reflector.go release binaries
FROM ubuntu:18:04
MAINTAINER chamunks [at] gmail [dot] com
ADD start.sh /usr/local/bin/start
ADD docker-entrypoint.sh /usr/local/bin/docker-entrypoint
RUN adduser reflector --gecos GECOS --shell /bin/bash --disabled-password --home /data/ && \
apt-get update && \
apt-get -y install

0
reflector.go/README.md Normal file
View file

View file

View file

@ -0,0 +1,18 @@
## base image for github.com/lbryio/reflector.go release binaries
FROM golang:1.11.1
MAINTAINER chamunks [at] gmail [dot] com
ADD start.sh /usr/local/bin/start
ADD docker-entrypoint.sh /usr/local/bin/docker-entrypoint
RUN adduser reflector --gecos GECOS --shell /bin/bash --disabled-password --home /data/
RUN go get -u github.com/lbryio/reflector.go && \
cd "$(go env GOPATH)/src/github.com/lbryio/reflector.go" && \
make && \
cp ./bin/prism-bin /usr/bin/prism-bin && \
chmod +x /usr/bin/prism-bin
USER reflector
#EXPOSE No idea yet.

View file

View file

View file

View file

View file

View file

0
reflector.go/start.sh Normal file
View file