File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # renovate: datasource=gitlab-tags depName=gitlab-org/gitlab-runner versioning=semver
2+ ARG GITLAB_RUNNER_VERSION=v16.8.0
3+ ARG GITLAB_RUNNER_IMAGE=gitlab/gitlab-runner:alpine-${GITLAB_RUNNER_VERSION}
4+
15FROM golang:alpine
26
37WORKDIR /docker-machine-driver-scaleway
@@ -23,8 +27,7 @@ ARG DOCKER_MACHINE_VERSION=v0.16.2-gitlab.21
2327RUN git clone --branch=${DOCKER_MACHINE_VERSION} https://gitlab.com/gitlab-org/ci-cd/docker-machine .
2428RUN CGO_ENABLED=0 GO111MODULE=off go build -o docker-machine -trimpath -ldflags="-s -w" ./cmd/docker-machine
2529
26-
27- FROM gitlab/gitlab-runner:alpine-v16.8.0
30+ FROM ${GITLAB_RUNNER_IMAGE}
2831
2932COPY --from=0 /docker-machine-driver-scaleway/docker-machine-driver-scaleway /usr/local/bin/docker-machine-driver-scaleway-v2
3033COPY --from=1 /go/src/github.com/docker/machine/docker-machine /usr/local/bin/docker-machine
You can’t perform that action at this time.
0 commit comments