This commit is contained in:
parent
ebb045bbcb
commit
f2300bfb28
2 changed files with 15 additions and 0 deletions
|
@ -24,11 +24,20 @@ buildah run $ctr -- apt-get install -y --no-install-recommends \
|
|||
;
|
||||
#gpg \
|
||||
|
||||
shared=/var/lib/shared-containers
|
||||
buildah run $ctr -- sh -c "sed /usr/share/containers/storage.conf \
|
||||
-e '/^#\?mount_program/c"'\
|
||||
'"mount_program = \"/usr/bin/fuse-overlayfs\"' \
|
||||
-e '/^additionalimagestores/a"'\
|
||||
'" \"$shared\"' \
|
||||
> /etc/containers/storage.conf"
|
||||
|
||||
buildah run $ctr -- sc -c "\
|
||||
mkdir -p $shared/overlay-images $shared/overlay-layers; \
|
||||
touch $shared/overlay-images/images.lock; \
|
||||
touch $shared/overlay-layers/layers.lock; \
|
||||
"
|
||||
|
||||
# yq https://github.com/mikefarah/yq?tab=readme-ov-file#install
|
||||
buildah run $ctr -- sh -c "curl --silent --location \"https://github.com/mikefarah/yq/releases/download/$YQ_VERSION/yq_linux_amd64.tar.gz\" \
|
||||
| tar --extract --gzip --to-stdout ./yq_linux_amd64 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue