Skip to content

Commit cc959be

Browse files
committed
Dockerfile: upgrade docker-machine to v0.16.2-gitlab.26
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
1 parent 1f7ce41 commit cc959be

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ RUN apk add --no-cache git
2222
WORKDIR /go/src/github.com/docker/machine
2323

2424
# renovate: datasource=gitlab-tags depName=gitlab-org/ci-cd/docker-machine versioning=semver
25-
ARG DOCKER_MACHINE_VERSION=v0.16.2-gitlab.21
25+
ARG DOCKER_MACHINE_VERSION=v0.16.2-gitlab.26
2626

2727
RUN git clone --branch=${DOCKER_MACHINE_VERSION} https://gitlab.com/gitlab-org/ci-cd/docker-machine .
28-
RUN CGO_ENABLED=0 GO111MODULE=off go build -o docker-machine -trimpath -ldflags="-s -w" ./cmd/docker-machine
28+
RUN CGO_ENABLED=0 GO111MODULE=on go build -o docker-machine -trimpath -ldflags="-s -w" ./cmd/docker-machine
2929

3030
FROM ${GITLAB_RUNNER_IMAGE} as gitlab-runner
3131

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ docker: docker-build docker-push
88

99
docker-build:
1010
@docker build --target docker-machine -t $(DOCKER_MACHINE_IMAGE) .
11-
@docker build --target gitlab-runner -t $(RUNNER_IMAGE):$(RUNNER_VERSION) .
11+
@docker build --target gitlab-runner -t $(RUNNER_IMAGE):$(RUNNER_VERSION) -t $(RUNNER_IMAGE):latest .
1212
docker-push:
1313
@docker push $(DOCKER_MACHINE_IMAGE)
1414
@docker push $(RUNNER_IMAGE):$(RUNNER_VERSION)
15+
@docker push $(RUNNER_IMAGE):latest

0 commit comments

Comments
 (0)