1
0
Fork 0
This repository has been archived on 2025-01-13. You can view files and clone it, but cannot push or open issues or pull requests.
gitlab-hetzner-runner/Dockerfile

23 lines
677 B
Text
Raw Normal View History

FROM docker.io/library/golang:1.21.4-alpine as driver-builder
2019-05-04 14:04:44 +02:00
# renovate: datasource=git-tags depName=https://github.com/JonasProgrammer/docker-machine-driver-hetzner.git
ARG HETZNER_VERSION=5.0.2+legacy-image-attempt
2019-05-04 14:04:44 +02:00
ENV GO111MODULE=on
RUN mkdir -p /go/src/app
WORKDIR /go/src/app
RUN apk add git
RUN git clone --depth 3 --branch "$HETZNER_VERSION" https://github.com/JonasProgrammer/docker-machine-driver-hetzner.git ./
RUN go build -o docker-machine-driver-hetzner
2023-10-13 22:49:36 +00:00
FROM docker.io/gitlab/gitlab-runner:alpine-v16.4.1
LABEL maintainer="Sheogorath <sheogorath@shivering-isles.com>"
2019-05-04 14:04:44 +02:00
COPY --from=driver-builder /go/src/app/docker-machine-driver-hetzner /usr/local/bin/