mirror of
https://github.com/goharbor/harbor
synced 2025-04-21 01:33:58 +00:00
update compile guite
This commit is contained in:
parent
220e709530
commit
6871a080b8
|
@ -59,6 +59,12 @@ You can compile the code by one of the three approaches:
|
||||||
$ make install GOBUILDIMAGE=golang:1.7.3 COMPILETAG=compile_golangimage CLARITYIMAGE=vmware/harbor-clarity-ui-builder:1.2.7 NOTARYFLAG=true
|
$ make install GOBUILDIMAGE=golang:1.7.3 COMPILETAG=compile_golangimage CLARITYIMAGE=vmware/harbor-clarity-ui-builder:1.2.7 NOTARYFLAG=true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
* Build, install and bring up Harbor with Clair:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ make install GOBUILDIMAGE=golang:1.7.3 COMPILETAG=compile_golangimage CLARITYIMAGE=vmware/harbor-clarity-ui-builder:1.2.7 CLAIRFLAG=true
|
||||||
|
```
|
||||||
|
|
||||||
#### II. Compile code with your own Golang environment, then build Harbor
|
#### II. Compile code with your own Golang environment, then build Harbor
|
||||||
|
|
||||||
* Move source code to $GOPATH
|
* Move source code to $GOPATH
|
||||||
|
@ -69,18 +75,18 @@ You can compile the code by one of the three approaches:
|
||||||
$ mv harbor $GOPATH/src/github.com/vmware/.
|
$ mv harbor $GOPATH/src/github.com/vmware/.
|
||||||
```
|
```
|
||||||
|
|
||||||
* Build, install and run Harbor without Notary:
|
* Build, install and run Harbor without Notary and Clair:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ cd $GOPATH/src/github.com/vmware/harbor
|
$ cd $GOPATH/src/github.com/vmware/harbor
|
||||||
$ make install
|
$ make install
|
||||||
```
|
```
|
||||||
|
|
||||||
* Build, install and run Harbor with Notary:
|
* Build, install and run Harbor with Notary and Clair:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ cd $GOPATH/src/github.com/vmware/harbor
|
$ cd $GOPATH/src/github.com/vmware/harbor
|
||||||
$ make install -e NOTARYFLAG=true
|
$ make install -e NOTARYFLAG=true CLAIRFLAG=true
|
||||||
```
|
```
|
||||||
|
|
||||||
### Verify your installation
|
### Verify your installation
|
||||||
|
|
Loading…
Reference in New Issue
Block a user