Skip to content

Commit

Permalink
chore: Move files from /usr/etc/ to /etc/ in build-time (#214)
Browse files Browse the repository at this point in the history
Take a look at this issue for more details:

blue-build/modules#314

Idk if anything else needs to be done, please tell

Should be tested for regressions too
  • Loading branch information
fiftydinar authored Aug 8, 2024
1 parent 6a97a52 commit bd75880
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions template/templates/Containerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ ARG BASE_IMAGE="{{ recipe.base_image }}"

# Key RUN
RUN --mount=type=bind,from=stage-keys,src=/keys,dst=/tmp/keys \
mkdir -p /usr/etc/pki/containers/ \
&& cp /tmp/keys/* /usr/etc/pki/containers/ \
mkdir -p /etc/pki/containers/ \
&& cp /tmp/keys/* /etc/pki/containers/ \
&& ostree container commit

# Bin RUN
Expand Down

0 comments on commit bd75880

Please sign in to comment.