mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-25 03:35:21 +01:00
update install htpasswd in prepare dockerfile (#17056)
update install htpasswd in prepare dockerfle Signed-off-by: yminer <yminer@vmware.com>
This commit is contained in:
parent
c343232081
commit
b11970ac3c
@ -4,8 +4,5 @@ RUN tdnf install -y python3 python3-pip python3-PyYAML python3-jinja2 && tdnf cl
|
|||||||
RUN pip3 install pipenv==2020.11.15
|
RUN pip3 install pipenv==2020.11.15
|
||||||
|
|
||||||
#To install only htpasswd binary from photon package httpd
|
#To install only htpasswd binary from photon package httpd
|
||||||
RUN tdnf install -y rpm
|
RUN tdnf install -y rpm cpio apr-util
|
||||||
RUN tdnf -y --downloadonly --downloaddir=/tmp install httpd
|
RUN tdnf -y --downloadonly --downloaddir=/tmp/ install httpd && rpm2cpio /tmp/httpd-*.rpm | cpio -ivdm ./usr/bin/htpasswd && rm -f /tmp/*
|
||||||
RUN tdnf install -y apr-util
|
|
||||||
RUN rpm2cpio /tmp/httpd-*.rpm | cpio -iuvdm /usr/bin/htpasswd
|
|
||||||
RUN rm -f /tmp/*
|
|
||||||
|
Loading…
Reference in New Issue
Block a user