mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-08 00:48:17 +01:00
615a4cbb52
Signed-off-by: yminer <yminer@vmmware.com> cpio -u Signed-off-by: yminer <yminer@vmmware.com> Co-authored-by: yminer <yminer@vmmware.com>
12 lines
393 B
Docker
12 lines
393 B
Docker
FROM photon:4.0
|
|
|
|
RUN tdnf install -y python3 python3-pip python3-PyYAML python3-jinja2 && tdnf clean all
|
|
RUN pip3 install pipenv==2020.11.15
|
|
|
|
#To install only htpasswd binary from photon package httpd
|
|
RUN tdnf install -y rpm
|
|
RUN tdnf -y --downloadonly --downloaddir=/tmp install httpd
|
|
RUN tdnf install -y apr-util
|
|
RUN rpm2cpio /tmp/httpd-*.rpm | cpio -iuvdm /usr/bin/htpasswd
|
|
RUN rm -f /tmp/*
|