fix: Create dir for keys and bins in case they don't exist

This commit is contained in:
Gerald Pinder 2024-03-24 17:28:21 -04:00
parent 399ca604aa
commit 2c98a7abc6

View file

@ -1,11 +1,13 @@
# Key RUN
RUN --mount=type=bind,from=stage-keys,src=/keys,dst=/tmp/keys \
cp /tmp/keys/* /usr/etc/pki/containers/ \
mkdir -p /usr/etc/pki/containers/ \
&& cp /tmp/keys/* /usr/etc/pki/containers/ \
&& ostree container commit
# Bin RUN
RUN --mount=type=bind,from=stage-bins,src=/bins,dst=/tmp/bins \
cp /tmp/bins/* /usr/bin/ \
mkdir -p /usr/bin/ \
&& cp /tmp/bins/* /usr/bin/ \
&& ostree container commit
# Module RUNs