mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-09-30 17:09:37 +02:00
* upgrade go to 1.25 * add minor version to be Go 1.25.0 * revert the Go version on README to keep the history of the release
16 lines
422 B
Plaintext
16 lines
422 B
Plaintext
FROM golang:1.25-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"]
|