mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-27 20:59:10 +01:00
c4024f03a1
Update base image to photon Remove vim from the image
18 lines
392 B
Docker
18 lines
392 B
Docker
FROM vmware/photon:1.0
|
|
|
|
RUN tdnf distro-sync -y \
|
|
&& tdnf erase vim -y \
|
|
&& tdnf clean all \
|
|
&& mkdir /harbor/
|
|
COPY ./make/dev/ui/harbor_ui /harbor/
|
|
|
|
COPY ./src/ui/views /harbor/views
|
|
COPY ./src/ui/static /harbor/static
|
|
COPY ./src/favicon.ico /harbor/favicon.ico
|
|
COPY ./VERSION /harbor/VERSION
|
|
|
|
RUN chmod u+x /harbor/harbor_ui
|
|
|
|
WORKDIR /harbor/
|
|
ENTRYPOINT ["/harbor/harbor_ui"]
|