Skip to content

Commit

Permalink
use explicit version instead of argument
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhiendl committed Sep 23, 2022
1 parent e3eb984 commit 3b88d42
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,5 @@ WORKDIR /build
RUN curl -sLo hetzner.tar.gz $(curl --silent https://api.github.com/repos/JonasProgrammer/docker-machine-driver-hetzner/releases | jq -r '. | first | .assets[] | select(.name|contains("linux_amd64")).browser_download_url')
RUN tar xf hetzner.tar.gz && chmod +x docker-machine-driver-hetzner

ARG GITLAB_RUNNER_VERSION

FROM gitlab/gitlab-runner:$GITLAB_RUNNER_VERSION
FROM gitlab/gitlab-runner:v15.2.2
COPY --from=builder /build/docker-machine-driver-hetzner /usr/bin

0 comments on commit 3b88d42

Please sign in to comment.