Upgrade APK and give entrypoint executable permissions
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
8dbd0137b7
commit
9ee4f5bf02
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user