diff --git a/LICENSE b/LICENSE index 7ac31a5..3899a2f 100644 --- a/LICENSE +++ b/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 diff --git a/reflector.go/.env b/reflector.go/.env new file mode 100644 index 0000000..e69de29 diff --git a/reflector.go/Dockerfile b/reflector.go/Dockerfile new file mode 100644 index 0000000..977507b --- /dev/null +++ b/reflector.go/Dockerfile @@ -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 diff --git a/reflector.go/README.md b/reflector.go/README.md new file mode 100644 index 0000000..e69de29 diff --git a/reflector.go/compile/.env b/reflector.go/compile/.env new file mode 100644 index 0000000..e69de29 diff --git a/reflector.go/compile/Dockerfile b/reflector.go/compile/Dockerfile new file mode 100644 index 0000000..841b881 --- /dev/null +++ b/reflector.go/compile/Dockerfile @@ -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. diff --git a/reflector.go/compile/README.md b/reflector.go/compile/README.md new file mode 100644 index 0000000..e69de29 diff --git a/reflector.go/compile/docker-compose.yml b/reflector.go/compile/docker-compose.yml new file mode 100644 index 0000000..e69de29 diff --git a/reflector.go/compile/docker-entrypoint.sh b/reflector.go/compile/docker-entrypoint.sh new file mode 100644 index 0000000..e69de29 diff --git a/reflector.go/compile/start.sh b/reflector.go/compile/start.sh new file mode 100644 index 0000000..e69de29 diff --git a/reflector.go/debugpaste-it.sh b/reflector.go/debugpaste-it.sh new file mode 100644 index 0000000..e69de29 diff --git a/reflector.go/docker-compose.yml b/reflector.go/docker-compose.yml new file mode 100644 index 0000000..e69de29 diff --git a/reflector.go/docker-entrypoint.sh b/reflector.go/docker-entrypoint.sh new file mode 100644 index 0000000..e69de29 diff --git a/reflector.go/start.sh b/reflector.go/start.sh new file mode 100644 index 0000000..e69de29