Update APK Repositories to 3.15
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
94bf6bd59d
commit
58774788cf
@ -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 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
|
# 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
|
# https://git.alpinelinux.org/aports/tree/main/postgresql/postgresql.pre-install?h=3.12-stable
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
@ -139,9 +135,9 @@ RUN set -eux; \
|
|||||||
/usr/local/share/man \
|
/usr/local/share/man \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
apk --no-cache update && apk --no-cache upgrade; \
|
|
||||||
postgres --version
|
postgres --version
|
||||||
|
|
||||||
|
|
||||||
# make the sample config easier to munge (and "correct by default")
|
# make the sample config easier to munge (and "correct by default")
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
cp -v /usr/local/share/postgresql/postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample.orig; \
|
cp -v /usr/local/share/postgresql/postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample.orig; \
|
||||||
|
@ -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 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
|
# 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
|
# https://git.alpinelinux.org/aports/tree/main/postgresql/postgresql.pre-install?h=3.12-stable
|
||||||
RUN set -eux; \
|
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"
|
RUN mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA"
|
||||||
VOLUME /var/lib/postgresql/data
|
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
|
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
|
||||||
|
|
||||||
ENTRYPOINT ["docker-entrypoint.sh"]
|
ENTRYPOINT ["docker-entrypoint.sh"]
|
||||||
|
Loading…
Reference in New Issue
Block a user