Accepting request 974581 from home:dancermak:auto_update:TW
Use set -euo pipefail in every RUN command, use ; instead of && to prevent masking failures OBS-URL: https://build.opensuse.org/request/show/974581 OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/postgres-12-image?expand=0&rev=2
This commit is contained in:
parent
aee03d15ce
commit
9311b61d76
@ -24,7 +24,7 @@ LABEL com.suse.release-stage="beta"
|
||||
# endlabelprefix
|
||||
|
||||
|
||||
RUN set -euo pipefail && zypper -n in --no-recommends postgresql12-server distribution-release && zypper -n clean && rm -rf /var/log/*
|
||||
RUN set -euo pipefail; zypper -n in --no-recommends postgresql12-server distribution-release; zypper -n clean; rm -rf /var/log/*
|
||||
|
||||
ENV LANG="en_US.utf8"
|
||||
ENV PG_MAJOR="12"
|
||||
@ -36,9 +36,9 @@ CMD ["postgres"]
|
||||
VOLUME /var/lib/postgresql/data
|
||||
|
||||
COPY docker-entrypoint.sh /usr/local/bin/
|
||||
RUN set -euo pipefail && chmod +x /usr/local/bin/docker-entrypoint.sh && \
|
||||
ln -s su /usr/bin/gosu && \
|
||||
mkdir /docker-entrypoint-initdb.d && \
|
||||
RUN set -euo pipefail; chmod +x /usr/local/bin/docker-entrypoint.sh; \
|
||||
ln -s su /usr/bin/gosu; \
|
||||
mkdir /docker-entrypoint-initdb.d; \
|
||||
sed -ri "s|^#?(listen_addresses)\s*=\s*\S+.*|\1 = '*'|" /usr/share/postgresql12/postgresql.conf.sample
|
||||
|
||||
STOPSIGNAL SIGINT
|
||||
|
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 3 09:10:26 UTC 2022 - Dan Čermák <dcermak@suse.com>
|
||||
|
||||
- Use set -euo pipefail in every RUN command, use ; instead of && to prevent masking failures
|
Loading…
Reference in New Issue
Block a user