2019-06-13 17:14:53 +01:00
|
|
|
ARG DOCKER_ARCH
|
|
|
|
FROM ${DOCKER_ARCH:-amd64}/alpine
|
|
|
|
ARG TAG
|
|
|
|
ARG GOARCH
|
|
|
|
ENV GOARCH ${GOARCH}
|
2018-08-23 16:48:03 +01:00
|
|
|
|
2018-12-21 16:56:57 +00:00
|
|
|
ENV CONF_PATH=/root/.local/storj/uplink \
|
2018-09-07 20:46:08 +01:00
|
|
|
API_KEY= \
|
2018-08-23 16:48:03 +01:00
|
|
|
SATELLITE_ADDR=
|
|
|
|
WORKDIR /app
|
2018-12-21 16:56:57 +00:00
|
|
|
VOLUME /root/.local/storj/uplink
|
2019-06-13 17:14:53 +01:00
|
|
|
COPY release/${TAG}/uplink_linux_${GOARCH:-amd64} /app/uplink
|
2018-08-24 21:02:42 +01:00
|
|
|
COPY cmd/uplink/entrypoint /entrypoint
|
2018-08-23 16:48:03 +01:00
|
|
|
ENTRYPOINT ["/entrypoint"]
|