Files
postgres-operator/docker/Dockerfile
Philip HaberkernandPhilip Haberkern 920f3dee3e bumped to alpine base image 3.15 (#2027)
* Bumped Alpine to 3.15

Co-authored-by: Philip Haberkern <Philip.haberkern>
2022-10-18 11:02:04 +02:00

16 lines
403 B
Docker

FROM registry.opensource.zalan.do/library/alpine-3.15:latest
LABEL maintainer="Team ACID @ Zalando <team-acid@zalando.de>"
# We need root certificates to deal with teams api over https
RUN apk --no-cache add curl
RUN apk --no-cache add ca-certificates
COPY build/* /
RUN addgroup -g 1000 pgo
RUN adduser -D -u 1000 -G pgo -g 'Postgres Operator' pgo
USER 1000:1000
ENTRYPOINT ["/postgres-operator"]