harbor/make/photon/prepare/Dockerfile
Wang Yan 544cc98971 add base images when to build harbor assets
* add base images when to build harbor assets

Signed-off-by: wang yan <wangyan@vmware.com>
2019-11-12 15:38:51 +08:00

14 lines
282 B
Docker

FROM goharbor/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 /usr/src/app
RUN set -ex && pipenv install --deploy --system
ENTRYPOINT [ "python3", "main.py" ]
VOLUME ["/harbor_make"]