storj/cmd/uplink/Dockerfile
2020-12-08 01:38:33 +01:00

16 lines
373 B
Docker

ARG DOCKER_ARCH
FROM ${DOCKER_ARCH:-amd64}/alpine
ARG TAG
ARG GOARCH
ENV GOARCH ${GOARCH}
ENV CONF_PATH=/root/.local/storj/uplink \
API_KEY= \
SATELLITE_ADDR=
WORKDIR /app
VOLUME /root/.local/storj/uplink
RUN apk -U add ca-certificates
COPY release/${TAG}/uplink_linux_${GOARCH:-amd64} /app/uplink
COPY cmd/uplink/entrypoint /entrypoint
ENTRYPOINT ["/entrypoint"]