File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,10 +33,9 @@ RUN apt-get clean && \
3333RUN mkdir -p /usr/share/keyrings
3434
3535# Add PostgreSQL repository with modern GPG keyring approach for postgresql-client-common
36- # Download and verify GPG key
37- RUN curl --silent --fail --location https://www.postgresql.org/media/keys/ACCC4CF8.asc -o /tmp/postgresql.asc && \
38- gpg --dearmor /tmp/postgresql.asc -o /usr/share/keyrings/postgresql-keyring.gpg && \
39- rm /tmp/postgresql.asc && \
36+ # Download and process GPG key using wget (more reliable for piping)
37+ RUN wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | \
38+ gpg --dearmor -o /usr/share/keyrings/postgresql-keyring.gpg && \
4039 test -f /usr/share/keyrings/postgresql-keyring.gpg
4140
4241# Add PostgreSQL repository configuration
@@ -55,4 +54,4 @@ RUN mkdir -p /etc/service/appserver && \
5554 mv /home/app/webapp/config/appserver.sh /etc/service/appserver/run && \
5655 chmod 777 /etc/service/appserver/run
5756
58- ENV LD_PRELOAD=${LD_PRELOAD:-}: /lib/x86_64-linux-gnu/libjemalloc.so.2
57+ ENV LD_PRELOAD=/lib/x86_64-linux-gnu/libjemalloc.so.2
You can’t perform that action at this time.
0 commit comments