2019-11-12 04:20:54 +01:00
|
|
|
ARG harbor_base_image_version
|
2019-11-11 11:56:36 +01:00
|
|
|
FROM goharbor/harbor-core-base:${harbor_base_image_version}
|
2016-08-23 11:57:12 +02:00
|
|
|
|
2018-03-28 08:52:42 +02:00
|
|
|
HEALTHCHECK CMD curl --fail -s http://127.0.0.1:8080/api/ping || exit 1
|
2019-10-29 09:09:54 +01:00
|
|
|
COPY ./make/photon/core/harbor_core /harbor/
|
2018-09-12 08:38:29 +02:00
|
|
|
COPY ./src/core/views /harbor/views
|
2019-01-16 10:30:25 +01:00
|
|
|
COPY ./make/migrations /harbor/migrations
|
2016-08-23 11:57:12 +02:00
|
|
|
|
2019-07-29 09:52:17 +02:00
|
|
|
RUN chmod u+x /harbor/harbor_core
|
2016-08-23 11:57:12 +02:00
|
|
|
WORKDIR /harbor/
|
2019-07-30 07:04:28 +02:00
|
|
|
USER harbor
|
2019-07-18 09:39:29 +02:00
|
|
|
ENTRYPOINT ["/harbor/harbor_core"]
|