Upgrade APK and give entrypoint executable permissions
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Lennard Brinkhaus 2022-01-02 18:32:05 +01:00
parent 8dbd0137b7
commit 9ee4f5bf02
Signed by: lennard.brinkhaus
GPG Key ID: D4C9B6A87F97B070
2 changed files with 6 additions and 2 deletions

View File

@ -2,7 +2,7 @@ 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 update \
RUN apk --no-cache upgrade \
&& apk --no-cache add ca-certificates wget openssl \
&& update-ca-certificates
@ -155,6 +155,8 @@ RUN mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PG
VOLUME /var/lib/postgresql/data
COPY 13/docker-entrypoint.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
ENTRYPOINT ["docker-entrypoint.sh"]
# We set the default STOPSIGNAL to SIGINT, which corresponds to what PostgreSQL

View File

@ -2,7 +2,7 @@ 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 update \
RUN apk --no-cache upgrade \
&& apk --no-cache add ca-certificates wget openssl \
&& update-ca-certificates
@ -158,6 +158,8 @@ RUN mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PG
VOLUME /var/lib/postgresql/data
COPY 14/docker-entrypoint.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
ENTRYPOINT ["docker-entrypoint.sh"]
# We set the default STOPSIGNAL to SIGINT, which corresponds to what PostgreSQL