mirror of
https://github.com/containers/skopeo.git
synced 2025-06-04 12:39:46 +00:00
Merge pull request #984 from mtrmac/htpasswd-1.1
Run htpasswd from our build-container instead of registry:2
This commit is contained in:
commit
747abd054f
@ -7,6 +7,8 @@ RUN dnf -y update && dnf install -y make git golang golang-github-cpuguy83-md2ma
|
|||||||
# gpgme bindings deps
|
# gpgme bindings deps
|
||||||
libassuan-devel gpgme-devel \
|
libassuan-devel gpgme-devel \
|
||||||
gnupg \
|
gnupg \
|
||||||
|
# htpasswd for system tests
|
||||||
|
httpd-tools \
|
||||||
# OpenShift deps
|
# OpenShift deps
|
||||||
which tar wget hostname util-linux bsdtar socat ethtool device-mapper iptables tree findutils nmap-ncat e2fsprogs xfsprogs lsof docker iproute \
|
which tar wget hostname util-linux bsdtar socat ethtool device-mapper iptables tree findutils nmap-ncat e2fsprogs xfsprogs lsof docker iproute \
|
||||||
bats jq podman runc \
|
bats jq podman runc \
|
||||||
|
@ -314,8 +314,7 @@ start_registry() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if ! egrep -q "^$testuser:" $AUTHDIR/htpasswd; then
|
if ! egrep -q "^$testuser:" $AUTHDIR/htpasswd; then
|
||||||
log_and_run $PODMAN run --rm --entrypoint htpasswd $REGISTRY_FQIN \
|
htpasswd -Bbn $testuser $testpassword >> $AUTHDIR/htpasswd
|
||||||
-Bbn $testuser $testpassword >> $AUTHDIR/htpasswd
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
reg_args+=(
|
reg_args+=(
|
||||||
|
Loading…
Reference in New Issue
Block a user