2019-11-11 11:56:36 +01:00
|
|
|
FROM goharbor/harbor-jobservice-base:${harbor_base_image_version}
|
2016-08-23 11:57:12 +02:00
|
|
|
|
2019-07-23 11:50:24 +02:00
|
|
|
COPY ./make/photon/jobservice/harbor_jobservice /harbor/
|
|
|
|
|
|
|
|
RUN chmod u+x /harbor/harbor_jobservice
|
2017-11-08 14:22:00 +01:00
|
|
|
|
2016-08-23 11:57:12 +02:00
|
|
|
WORKDIR /harbor/
|
2019-07-23 11:50:24 +02:00
|
|
|
|
|
|
|
USER harbor
|
|
|
|
|
|
|
|
VOLUME ["/var/log/jobs/"]
|
|
|
|
|
2019-08-01 10:02:08 +02:00
|
|
|
HEALTHCHECK CMD curl --fail -s http://127.0.0.1:8080/api/v1/stats || exit 1
|
|
|
|
|
2019-07-23 11:50:24 +02:00
|
|
|
ENTRYPOINT ["/harbor/harbor_jobservice", "-c", "/etc/jobservice/config.yml"]
|