Skip to content

Commit 25a0f9f

Browse files
ad-mfredericosilva
authored andcommitted
Update Dockerfile (#11)
1 parent 94d78b3 commit 25a0f9f

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

e2e/Dockerfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
FROM golang:alpine
2-
ENV H1_CLI_VERSION="v1.4.0"
3-
ENV MACHINE_VERSION="v0.16.1"
4-
52
# Setup
63
RUN apk add curl bats git make gcc musl-dev findutils grep docker
7-
RUN base="https://github.com/docker/machine/releases/download/${MACHINE_VERSION}" \
4+
RUN base="https://github.com/docker/machine/releases/latest/download" \
85
&& curl -L $base/docker-machine-$(uname -s)-$(uname -m) >/usr/local/bin/docker-machine \
96
&& chmod +x /usr/local/bin/docker-machine
10-
RUN curl -s -L "https://github.com/hyperonecom/h1-cli/releases/download/${H1_CLI_VERSION}/h1-alpine" -o /bin/h1 \
7+
RUN curl -s -L "https://github.com/hyperonecom/h1-cli/releases/latest/download/h1-alpine" -o /bin/h1 \
118
&& chmod +x /bin/h1
129
# Build
1310
WORKDIR /src
@@ -16,4 +13,4 @@ RUN go build
1613
ENV PATH=/src/:$PATH
1714

1815
# Run
19-
CMD ["docker-machine", "create", "-d", "hyperone", "--help"]
16+
CMD ["docker-machine", "create", "-d", "hyperone", "--help"]

0 commit comments

Comments
 (0)