diff --git a/Dockerfile b/Dockerfile index 4117590f..38fb3843 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ # limitations under the License. -FROM golang:1.16 as base +FROM golang:1.16.2 as base WORKDIR /src ENV CGO_ENABLED=0 COPY go.* ./ diff --git a/Dockerfile.gsutil b/Dockerfile.gsutil index e1a7e83c..16080add 100644 --- a/Dockerfile.gsutil +++ b/Dockerfile.gsutil @@ -1,3 +1,4 @@ +# syntax = docker/dockerfile:1-experimental # Copyright 2020 Security Scorecard Authors # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -12,9 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -# syntax = docker/dockerfile:1-experimental -FROM golang:1.16 as base +FROM golang:1.16.2 as base WORKDIR /src ENV CGO_ENABLED=0 COPY go.* ./