2019-11-12 04:20:54 +01:00
|
|
|
ARG harbor_base_image_version
|
2019-11-11 11:56:36 +01:00
|
|
|
FROM goharbor/harbor-prepare-base:${harbor_base_image_version}
|
2018-11-15 04:09:57 +01:00
|
|
|
|
|
|
|
ENV LANG en_US.UTF-8
|
|
|
|
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
|
|
|
|
RUN mkdir -p /harbor_make
|
|
|
|
|
2020-03-19 20:04:10 +01:00
|
|
|
COPY make/photon/prepare/Pipfile.lock make/photon/prepare/Pipfile /usr/src/app/
|
2018-11-15 04:09:57 +01:00
|
|
|
RUN set -ex && pipenv install --deploy --system
|
2020-03-19 20:04:10 +01:00
|
|
|
COPY make/photon/prepare /usr/src/app
|
2018-11-15 04:09:57 +01:00
|
|
|
|
|
|
|
ENTRYPOINT [ "python3", "main.py" ]
|
|
|
|
|
|
|
|
VOLUME ["/harbor_make"]
|