mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-18 16:25:16 +01:00
5e130bd06c
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
9 lines
375 B
Docker
9 lines
375 B
Docker
FROM photon:5.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/*
|