2017-10-30 03:56:18 +01:00
|
|
|
FROM vmware/photon:1.0
|
2016-08-23 11:57:12 +02:00
|
|
|
|
2017-10-30 03:56:18 +01:00
|
|
|
RUN tdnf distro-sync -y \
|
|
|
|
&& tdnf erase vim -y \
|
|
|
|
&& tdnf clean all \
|
|
|
|
&& mkdir /harbor/
|
2016-10-19 08:32:00 +02:00
|
|
|
COPY ./make/dev/ui/harbor_ui /harbor/
|
2016-08-23 11:57:12 +02:00
|
|
|
|
2016-10-19 08:32:00 +02:00
|
|
|
COPY ./src/ui/views /harbor/views
|
|
|
|
COPY ./src/ui/static /harbor/static
|
|
|
|
COPY ./src/favicon.ico /harbor/favicon.ico
|
2017-03-21 12:56:59 +01:00
|
|
|
COPY ./VERSION /harbor/VERSION
|
2016-08-23 11:57:12 +02:00
|
|
|
|
2017-03-20 11:51:20 +01:00
|
|
|
RUN chmod u+x /harbor/harbor_ui
|
2016-11-14 11:27:56 +01:00
|
|
|
|
2016-08-23 11:57:12 +02:00
|
|
|
WORKDIR /harbor/
|
|
|
|
ENTRYPOINT ["/harbor/harbor_ui"]
|