mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-09-30 10:11:49 +02:00
* update golang and dependencies * fix incorrect log formatting * clean mod chache and introduce GOARCH in Dockerfile (choose dynamically) * remove GO111MODULE mentions * bump github actions from v2 to v3 * bump docker runners to v7 * use extra event store for backwards compatibility with existing codebase * updated generated opconfig api
16 lines
422 B
Plaintext
16 lines
422 B
Plaintext
FROM golang:1.26-alpine
|
|
LABEL maintainer="Team ACID @ Zalando <team-acid@zalando.de>"
|
|
|
|
# We need root certificates to deal with teams api over https
|
|
RUN apk -U add --no-cache ca-certificates delve
|
|
|
|
COPY build/* /
|
|
|
|
RUN addgroup -g 1000 pgo
|
|
RUN adduser -D -u 1000 -G pgo -g 'Postgres Operator' pgo
|
|
|
|
USER pgo:pgo
|
|
RUN ls -l /
|
|
|
|
CMD ["/dlv", "--listen=:7777", "--headless=true", "--api-version=2", "exec", "/postgres-operator"]
|