mirror of
https://github.com/goharbor/harbor.git
synced 2024-09-27 13:02:59 +02:00
removing httpd on prepare base DockerFile (#17060)
update photon prepare base by removing httpd Signed-off-by: yminer <yminer@vmware.com>
This commit is contained in:
parent
ce18afaf8b
commit
f87803b5a4
@ -1,4 +1,8 @@
|
|||||||
FROM photon:4.0
|
FROM photon:4.0
|
||||||
|
|
||||||
RUN tdnf install -y python3 python3-pip httpd python3-PyYAML python3-jinja2 && tdnf clean all
|
RUN tdnf install -y python3 python3-pip python3-PyYAML python3-jinja2 && tdnf clean all
|
||||||
RUN pip3 install pipenv==2020.11.15
|
RUN pip3 install pipenv==2020.11.15
|
||||||
|
|
||||||
|
#To install only htpasswd binary from photon package httpd
|
||||||
|
RUN tdnf install -y rpm cpio apr-util
|
||||||
|
RUN tdnf -y --downloadonly --downloaddir=/tmp/ install httpd && rpm2cpio /tmp/httpd-*.rpm | cpio -ivdm ./usr/bin/htpasswd && rm -f /tmp/*
|
||||||
|
Loading…
Reference in New Issue
Block a user