Alexander "PapaTutuWawa
510e60a42e
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
11 lines
263 B
Docker
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"] |