Update APK Repositories to 3.15
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Lennard Brinkhaus 2022-01-02 20:14:35 +01:00
parent 94bf6bd59d
commit 58774788cf
Signed by: lennard.brinkhaus
GPG Key ID: D4C9B6A87F97B070
2 changed files with 2 additions and 10 deletions

View File

@ -2,10 +2,6 @@ FROM harbor.dragse.it/base/alpine:3.15
RUN echo $'http://nexus.dragse.it/repository/apk-main/\nhttp://nexus.dragse.it/repository/apk-community/' > /etc/apk/repositories
RUN apk --no-cache upgrade \
&& apk --no-cache add ca-certificates wget openssl \
&& update-ca-certificates
# 70 is the standard uid/gid for "postgres" in Alpine
# https://git.alpinelinux.org/aports/tree/main/postgresql/postgresql.pre-install?h=3.12-stable
RUN set -eux; \
@ -139,9 +135,9 @@ RUN set -eux; \
/usr/local/share/man \
; \
\
apk --no-cache update && apk --no-cache upgrade; \
postgres --version
# make the sample config easier to munge (and "correct by default")
RUN set -eux; \
cp -v /usr/local/share/postgresql/postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample.orig; \

View File

@ -2,10 +2,6 @@ FROM harbor.dragse.it/base/alpine:3.15
RUN echo $'http://nexus.dragse.it/repository/apk-main/\nhttp://nexus.dragse.it/repository/apk-community/' > /etc/apk/repositories
RUN apk --no-cache upgrade \
&& apk --no-cache add ca-certificates wget openssl \
&& update-ca-certificates
# 70 is the standard uid/gid for "postgres" in Alpine
# https://git.alpinelinux.org/aports/tree/main/postgresql/postgresql.pre-install?h=3.12-stable
RUN set -eux; \
@ -158,7 +154,7 @@ ENV PGDATA /var/lib/postgresql/data
RUN mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA"
VOLUME /var/lib/postgresql/data
COPY 14/docker-entrypoint.sh /usr/local/bin/
COPY docker-entrypoint.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
ENTRYPOINT ["docker-entrypoint.sh"]