diff --git a/docker/Dockerfile.devel b/docker/Dockerfile.devel index 3e39db2b..d571d320 100644 --- a/docker/Dockerfile.devel +++ b/docker/Dockerfile.devel @@ -11,10 +11,10 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -ARG GOLANG_VERSION=1.17.13 +ARG GOLANG_VERSION FROM golang:${GOLANG_VERSION} -RUN go get -u golang.org/x/lint/golint -RUN go get -u github.com/matryer/moq -RUN go get -u github.com/gordonklaus/ineffassign -RUN go get -u github.com/client9/misspell/cmd/misspell +RUN go install golang.org/x/lint/golint@latest +RUN go install github.com/matryer/moq@latest +RUN go install github.com/gordonklaus/ineffassign@latest +RUN go install github.com/client9/misspell/cmd/misspell@latest diff --git a/go.mod b/go.mod index 522f5216..e5ad1bb1 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module gitlab.com/nvidia/cloud-native/vgpu-device-manager -go 1.17 +go 1.19 require ( github.com/google/uuid v1.3.0 diff --git a/versions.mk b/versions.mk index 78d3a526..31c57b39 100644 --- a/versions.mk +++ b/versions.mk @@ -18,4 +18,4 @@ vVERSION := v$(VERSION:v%=%) CUDA_VERSION := 11.7.1 -GOLANG_VERSION := 1.17.13 +GOLANG_VERSION := 1.19.5