Skip to content

Commit

Permalink
fix: allow copying keys to both /etc and /usr/etc
Browse files Browse the repository at this point in the history
  • Loading branch information
gmpinder committed Aug 11, 2024
1 parent bd75880 commit 82606cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions template/templates/Containerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 82606cc

Please sign in to comment.