Skip to content

Commit

Permalink
fix: run update-ca-trust in final layer (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
hairmare authored Jan 7, 2025
1 parent 9962b3f commit 93432b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ RUN mkdir -p /mnt/rootfs \
&& cp \
/etc/pki/ca-trust/source/anchors/rabe-ca.crt \
/mnt/rootfs/etc/pki/ca-trust/source/anchors/ \
&& update-ca-trust \
&& chmod a-s \
/mnt/rootfs/usr/bin/* \
/mnt/rootfs/usr/sbin/* \
Expand Down Expand Up @@ -73,6 +72,7 @@ COPY --from=upstream /usr/libexec/httpd-prepare /usr/libexec/httpd-prepare

RUN useradd -u 1001 -r -g 0 -d ${HOME} -c "Default Application User" default \
&& chown -R 1001:0 /etc/httpd/conf/ \
&& update-ca-trust \
&& /usr/libexec/httpd-prepare \
&& mkdir /etc/httpd/conf.d/local_configs \
&& chown -R 1001:0 /etc/httpd/conf.d/local_configs \
Expand Down

0 comments on commit 93432b0

Please sign in to comment.