Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ _build-bib $target_image $tag $type $config: (_rootful_load_image target_image t

BUILDTMP=$(mktemp -p "${PWD}" -d -t _build-bib.XXXXXXXXXX)

sudo podman run \
just sudoif podman run \
--rm \
-it \
--privileged \
Expand All @@ -183,9 +183,9 @@ _build-bib $target_image $tag $type $config: (_rootful_load_image target_image t
"${target_image}:${tag}"

mkdir -p output
sudo mv -f $BUILDTMP/* output/
sudo rmdir $BUILDTMP
sudo chown -R $USER:$USER output/
just sudoif mv -f $BUILDTMP/* output/
just sudoif rmdir $BUILDTMP
just sudoif chown -R $USER:$USER output/

# Podman builds the image from the Containerfile and creates a bootable image
# Parameters:
Expand Down