mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-29 21:54:13 +01:00
77d28105bc
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
9 lines
375 B
Docker
9 lines
375 B
Docker
FROM photon:4.0
|
|
|
|
RUN tdnf install -y python3 python3-pip python3-PyYAML python3-jinja2 && tdnf clean all
|
|
RUN pip3 install pipenv==2022.1.8
|
|
|
|
#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/*
|