yume-runner/Dockerfile

16 lines
290 B
Text
Raw Normal View History

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