runner/Dockerfile
Gabriel Simmer 33d55298f9
Revert #50
Now that https://code.forgejo.org/forgejo/runner/pulls/64 has been
merged we should be good to go.
2023-08-06 16:14:31 +01:00

15 lines
290 B
Docker

#Build stage
FROM golang:1.20-alpine3.18 AS build-env
RUN apk --no-cache add build-base git
COPY . /srv
WORKDIR /srv
RUN make build
FROM alpine:3.18
LABEL maintainer="contact@forgejo.org"
COPY --from=build-env /srv/forgejo-runner /bin/forgejo-runner
ENTRYPOINT ["/bin/forgejo-runner"]