mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-27 04:35:16 +01:00
fcdab4d4af
This new prepare script now support offline packaging Signed-off-by: Qian Deng <dengq@vmware.com>
18 lines
337 B
Docker
18 lines
337 B
Docker
FROM photon:2.0
|
|
|
|
ENV LANG en_US.UTF-8
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
RUN mkdir -p /harbor_make
|
|
|
|
RUN tdnf install -y python3 \
|
|
&& tdnf install -y python3-pip
|
|
RUN pip3 install pipenv==2018.11.26
|
|
|
|
COPY make/photon/prepare /usr/src/app
|
|
RUN set -ex && pipenv install --deploy --system
|
|
|
|
ENTRYPOINT [ "python3", "main.py" ]
|
|
|
|
VOLUME ["/harbor_make"] |