missed operator dockerfile
This commit is contained in:
parent
ea6b7a085c
commit
64f54d7c00
|
|
@ -1,16 +1,14 @@
|
||||||
FROM ubuntu:20.04
|
FROM alpine
|
||||||
LABEL maintainer="Team ACID @ Zalando <team-acid@zalando.de>"
|
LABEL maintainer="Team ACID @ Zalando <team-acid@zalando.de>"
|
||||||
|
|
||||||
# We need root certificates to deal with teams api over https
|
# We need root certificates to deal with teams api over https
|
||||||
RUN apt-get update \
|
RUN apk --no-cache add curl
|
||||||
&& apt-get install --no-install-recommends -y \
|
RUN apk --no-cache add ca-certificates
|
||||||
curl \
|
|
||||||
ca-certificates
|
|
||||||
|
|
||||||
COPY build/* /
|
COPY build/* /
|
||||||
|
|
||||||
RUN addgroup --gid 1000 pgo
|
RUN addgroup -g 1000 pgo
|
||||||
RUN adduser pgo --gecos 'Postgres Operator' --uid 1000 --disabled-password --ingroup pgo
|
RUN adduser -D -u 1000 -G pgo -g 'Postgres Operator' pgo
|
||||||
|
|
||||||
USER 1000:1000
|
USER 1000:1000
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue