Skip to content

Commit 93432b0

Browse files
authored
fix: run update-ca-trust in final layer (#41)
1 parent 9962b3f commit 93432b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ RUN mkdir -p /mnt/rootfs \
3333
&& cp \
3434
/etc/pki/ca-trust/source/anchors/rabe-ca.crt \
3535
/mnt/rootfs/etc/pki/ca-trust/source/anchors/ \
36-
&& update-ca-trust \
3736
&& chmod a-s \
3837
/mnt/rootfs/usr/bin/* \
3938
/mnt/rootfs/usr/sbin/* \
@@ -73,6 +72,7 @@ COPY --from=upstream /usr/libexec/httpd-prepare /usr/libexec/httpd-prepare
7372

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

0 commit comments

Comments
 (0)