Started on Reflector.go
This commit is contained in:
parent
d670d8d6b0
commit
e878ffbdaa
14 changed files with 29 additions and 1 deletions
2
LICENSE
2
LICENSE
|
@ -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
0
reflector.go/.env
Normal file
10
reflector.go/Dockerfile
Normal file
10
reflector.go/Dockerfile
Normal 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
0
reflector.go/README.md
Normal file
0
reflector.go/compile/.env
Normal file
0
reflector.go/compile/.env
Normal file
18
reflector.go/compile/Dockerfile
Normal file
18
reflector.go/compile/Dockerfile
Normal 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.
|
0
reflector.go/compile/README.md
Normal file
0
reflector.go/compile/README.md
Normal file
0
reflector.go/compile/docker-compose.yml
Normal file
0
reflector.go/compile/docker-compose.yml
Normal file
0
reflector.go/compile/docker-entrypoint.sh
Normal file
0
reflector.go/compile/docker-entrypoint.sh
Normal file
0
reflector.go/compile/start.sh
Normal file
0
reflector.go/compile/start.sh
Normal file
0
reflector.go/debugpaste-it.sh
Normal file
0
reflector.go/debugpaste-it.sh
Normal file
0
reflector.go/docker-compose.yml
Normal file
0
reflector.go/docker-compose.yml
Normal file
0
reflector.go/docker-entrypoint.sh
Normal file
0
reflector.go/docker-entrypoint.sh
Normal file
0
reflector.go/start.sh
Normal file
0
reflector.go/start.sh
Normal file
Loading…
Reference in a new issue