Hello,
I’m trying to make persistent changes to the PacketFence Docker image
and ensure they survive container updates or recreation. Specifically,
I'd like to add a custom CA to trust an external service.
Here’s what I’ve tried so far in the Dockerfile: (
/usr/local/pf/containers/httpd.portal/Dockerfile
(./containers/manage-images.sh))
COPY /test/myfiletest /tmp/myfiletest
RUN touch /tmp/myfiletest2
COPY conf/ssl/tls_certs/MyAwesomeCA_Chain.crt
/usr/local/share/ca-certificates/MyAwesomeCA_Chain.crt
RUN update-ca-certificates
RUN cat /usr/local/share/ca-certificates/MyAwesomeCA_Chain.crt >>
/usr/local/pf/lib_perl/lib/perl5/Mozilla/CA/cacert.pem
However, the changes don’t seem to persist as expected. Could anyone
provide guidance on the best way to modify the Docker image to make such
changes permanent?
Thank you very much for any advice!
ps:
https://github.com/inverse-inc/packetfence/issues/8480
_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users