mirror of
https://github.com/Oxalide/vsphere-influxdb-go.git
synced 2023-10-10 13:36:51 +02:00
18 lines
332 B
Docker
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"]
|