revert changes on Dockerfiles

This commit is contained in:
Felix Kunde 2021-01-07 09:13:46 +01:00
parent 8048f6e081
commit ea6b7a085c
4 changed files with 9 additions and 15 deletions

View File

@ -1,14 +1,8 @@
FROM ubuntu:20.04
FROM alpine
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 \
go \
git \
musl-dev
RUN apk --no-cache add ca-certificates go git musl-dev
COPY build/* /

View File

@ -9,8 +9,8 @@ RUN apt-get update \
COPY build/* /
RUN addgroup -g 1000 pgo
RUN adduser -D -u 1000 -G pgo -g 'Postgres Operator' pgo
RUN addgroup --gid 1000 pgo
RUN adduser pgo --gecos 'Postgres Operator' --uid 1000 --disabled-password --ingroup pgo
USER 1000:1000

View File

@ -1,4 +1,4 @@
FROM ubuntu:20.04
FROM ubuntu:18.04
LABEL maintainer="Team ACID @ Zalando <team-acid@zalando.de>"
SHELL ["/bin/bash", "-o", "pipefail", "-c"]

View File

@ -1,4 +1,4 @@
FROM ubuntu:20.04
FROM alpine
LABEL maintainer="Team ACID @ Zalando <team-acid@zalando.de>"
EXPOSE 8081