mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-22 10:15:35 +01:00
Merge pull request #1251 from yhua123/dev-update-golang
upgrade golang baseimage from 1.6.2 to 1.7.3
This commit is contained in:
commit
3717b37dca
@ -3,7 +3,7 @@ sudo: true
|
||||
language: go
|
||||
|
||||
go:
|
||||
- 1.6.2
|
||||
- 1.7.3
|
||||
|
||||
go_import_path: github.com/vmware/harbor
|
||||
|
||||
|
@ -63,13 +63,13 @@ You can compile the code by one of the three approaches:
|
||||
* Build Golang dev image:
|
||||
|
||||
```sh
|
||||
$ make compile_buildgolangimage -e GOBUILDIMAGE=harborgo:1.6.2
|
||||
$ make compile_buildgolangimage -e GOBUILDIMAGE=harborgo:1.7.3
|
||||
```
|
||||
|
||||
* Build, install and bring up Harbor:
|
||||
|
||||
```sh
|
||||
$ make install -e GOBUILDIMAGE=harborgo:1.6.2 COMPILETAG=compile_golangimage
|
||||
$ make install -e GOBUILDIMAGE=harborgo:1.7.3 COMPILETAG=compile_golangimage
|
||||
```
|
||||
|
||||
#### II. Compile code with your own Golang environment, then build Harbor
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM golang:1.6.2
|
||||
FROM golang:1.7.3
|
||||
|
||||
MAINTAINER jiangd@vmware.com
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM golang:1.6.2
|
||||
FROM golang:1.7.3
|
||||
|
||||
MAINTAINER jiangd@vmware.com
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM golang:1.6.2
|
||||
FROM golang:1.7.3
|
||||
|
||||
MAINTAINER jiangd@vmware.com
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM golang:1.6.2
|
||||
FROM golang:1.7.3
|
||||
|
||||
MAINTAINER jiangd@vmware.com
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM golang:1.6.2
|
||||
FROM golang:1.7.3
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y libldap2-dev \
|
||||
|
Loading…
Reference in New Issue
Block a user