mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-30 12:38:17 +01:00
038d7dd90c
* Updates for verfied tags deletion. * Remove old UI. * Move i18n folder. * Updates for latest UI codes. * make travis with latest dev code. * update test code * add cat log * cat nginx * cat nginx * fix template error * remove --with-notary * remove controller test * fix controller test bug * modify controller test * debug controller test * update controller test * update index title to harbor, discussed with Kun. * Update package.json * Merge latest UI changes. * remove git
25 lines
465 B
Docker
25 lines
465 B
Docker
FROM golang:1.7.3
|
|
|
|
MAINTAINER jiangd@vmware.com
|
|
|
|
COPY src/. /go/src/github.com/vmware/harbor/src
|
|
WORKDIR /go/src/github.com/vmware/harbor/src/ui
|
|
|
|
RUN go build -v -a -o /go/bin/harbor_ui
|
|
|
|
ENV MYSQL_USR root \
|
|
MYSQL_PWD root \
|
|
REGISTRY_URL localhost:5000
|
|
|
|
COPY src/ui/views /go/bin/views
|
|
COPY src/ui/static /go/bin/static
|
|
COPY src/favicon.ico /go/bin/favicon.ico
|
|
|
|
RUN chmod u+x /go/bin/harbor_ui
|
|
|
|
WORKDIR /go/bin/
|
|
ENTRYPOINT ["/go/bin/harbor_ui"]
|
|
|
|
EXPOSE 80
|
|
|