All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Deprecate **pogreb**! close #169 Reviewed-on: #173
14 lines 371 B Docker
14 lines
371 B
Docker
FROM techknowlogick/xgo as build | |
| |
WORKDIR /workspace | |
| |
COPY . . | |
RUN CGO_ENABLED=1 go build -tags 'sqlite sqlite_unlock_notify netgo' -ldflags '-s -w -extldflags "-static" -linkmode external' . | |
| |
FROM scratch | |
COPY --from=build /workspace/pages /pages | |
COPY --from=build \ | |
/etc/ssl/certs/ca-certificates.crt \ | |
/etc/ssl/certs/ca-certificates.crt | |
| |
ENTRYPOINT ["/pages"] |