woodpecker-ssg-deploy/Dockerfile
Alexander "PapaTutuWawa 510e60a42e
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
Initial commit
2024-01-05 22:21:16 +01:00

11 lines
263 B
Docker

FROM golang:1.21
WORKDIR /src
COPY . .
RUN go build -o /src/ci-wrapper ./main.go
FROM alpine:3.19
COPY --from=0 /src/ci-wrapper /bin/ci-wrapper
COPY --chmod=555 entrypoint.sh /bin/entrypoint.sh
RUN apk add --no-cache git
ENTRYPOINT ["ash", "/bin/entrypoint.sh"]