fix: allow copying keys to both /etc and /usr/etc

This commit is contained in:
Gerald Pinder 2024-08-10 22:11:52 -04:00
parent bd75880a03
commit 82606cc144

View file

@ -19,7 +19,9 @@ ARG BASE_IMAGE="{{ recipe.base_image }}"
# Key RUN
RUN --mount=type=bind,from=stage-keys,src=/keys,dst=/tmp/keys \
mkdir -p /etc/pki/containers/ \
mkdir -p /usr/etc/pki/containers/ \
&& cp /tmp/keys/* /etc/pki/containers/ \
&& cp /tmp/keys/* /usr/etc/pki/containers/ \
&& ostree container commit
# Bin RUN