mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-04 17:49:48 +01:00
572ebef685
Signed-off-by: Ziming Zhang <zziming@vmware.com>
17 lines
434 B
Docker
17 lines
434 B
Docker
ARG harbor_base_image_version
|
|
ARG harbor_base_namespace
|
|
FROM ${harbor_base_namespace}/harbor-prepare-base:${harbor_base_image_version}
|
|
|
|
ENV LANG en_US.UTF-8
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
RUN mkdir -p /harbor_make
|
|
|
|
COPY make/photon/prepare/Pipfile.lock make/photon/prepare/Pipfile /usr/src/app/
|
|
RUN set -ex && pipenv install --deploy --system
|
|
COPY make/photon/prepare /usr/src/app
|
|
|
|
ENTRYPOINT [ "python3", "main.py" ]
|
|
|
|
VOLUME ["/harbor_make"] |