75c64035a2
* Normalize the dockerfiles and entrypoints * fix formattting and docker-compose file * add missing env var to satellite dockerfile * Remove build args no longer in use * More changes to make it all work
17 lines
382 B
Docker
17 lines
382 B
Docker
ARG CGO_ENABLED=1
|
|
ARG REPOSITORY=../storj.io/storj
|
|
ARG PACKAGE=storj.io/storj/cmd/uplink
|
|
FROM brimstone/golang as build-env
|
|
|
|
# final stage
|
|
FROM alpine
|
|
ENV CONF_PATH=/root/.storj/uplink/config.yaml \
|
|
API_KEY= \
|
|
SATELLITE_ADDR=
|
|
EXPOSE 7776/udp \
|
|
7777
|
|
WORKDIR /app
|
|
COPY --from=build-env /app /app/uplink
|
|
COPY cmd/uplink/entrypoint /entrypoint
|
|
ENTRYPOINT ["/entrypoint"]
|