summaryrefslogtreecommitdiff
path: root/contrib/cirrus/packer/libpod_images.yml
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2020-06-30 09:14:54 -0400
committerChris Evich <cevich@redhat.com>2020-07-22 11:51:32 -0400
commitfe56be28c175f024fd8e51dea4e99a95ec8f67b0 (patch)
tree28e8374fc229b8c44e82133edf72005d0eb39789 /contrib/cirrus/packer/libpod_images.yml
parent18a1514139f3028130a58e64f358ae4dfde9ec6c (diff)
downloadpodman-fe56be28c175f024fd8e51dea4e99a95ec8f67b0.tar.gz
podman-fe56be28c175f024fd8e51dea4e99a95ec8f67b0.tar.bz2
podman-fe56be28c175f024fd8e51dea4e99a95ec8f67b0.zip
Cirrus: Add packages that provide htpasswd
Mainly needed for buildah testing: the htpasswd command was removed from the upstream registry container image. Making it available on the host-side enables configuring details needed by the registry during it's initial setup. Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'contrib/cirrus/packer/libpod_images.yml')
-rw-r--r--contrib/cirrus/packer/libpod_images.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/cirrus/packer/libpod_images.yml b/contrib/cirrus/packer/libpod_images.yml
index 5afe01333..38f5a8250 100644
--- a/contrib/cirrus/packer/libpod_images.yml
+++ b/contrib/cirrus/packer/libpod_images.yml
@@ -65,7 +65,9 @@ builders:
provisioners:
- type: 'shell'
inline:
- - mkdir -p '${{user `GOSRC`}}'
+ - 'set -ex'
+ # The 'file' provisioner item (below) will create the final component
+ - 'mkdir -vp $(dirname {{user `GOSRC`}})'
- type: 'file'
source: '{{user `GOSRC`}}'