1
0
mirror of https://github.com/Oxalide/vsphere-influxdb-go.git synced 2023-10-10 13:36:51 +02:00
vsphere-influxdb-go/vendor/github.com/influxdata/influxdb/releng/source-tarball/Dockerfile
2017-10-25 20:52:40 +00:00

18 lines
332 B
Docker

ARG GO_VERSION
FROM golang:${GO_VERSION}-alpine
RUN apk add --no-cache \
bash \
git \
openssh-client \
tar
# Build the gdm binary and then clean out /go.
RUN go get github.com/sparrc/gdm && \
mv /go/bin/gdm /usr/local/bin/gdm && \
rm -rf /go/*
COPY fs/ /
ENTRYPOINT ["influxdb_tarball.bash"]