17 lines
439 B
Docker
17 lines
439 B
Docker
FROM ubuntu:20.04
|
|
LABEL maintainer="Team ACID @ Zalando <team-acid@zalando.de>"
|
|
|
|
# We need root certificates to deal with teams api over https
|
|
RUN apt-get update \
|
|
&& apt-get install --no-install-recommends -y \
|
|
curl \
|
|
ca-certificates
|
|
|
|
COPY build/* /
|
|
|
|
RUN addgroup --gid 1000 pgo
|
|
RUN adduser pgo --gecos 'Postgres Operator' --uid 1000 --disabled-password --ingroup pgo
|
|
|
|
USER 1000:1000
|
|
|
|
ENTRYPOINT ["/postgres-operator"] |