diff --git a/Dockerfile b/Dockerfile index 0da13d116cb..7982792e385 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,8 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. - -FROM golang:1.16.7@sha256:3c4de86eec9cbc619cdd72424abd88326ffcf5d813a8338a7743c55e5898734f AS base +FROM golang@sha256:3c4de86eec9cbc619cdd72424abd88326ffcf5d813a8338a7743c55e5898734f AS base WORKDIR /src ENV CGO_ENABLED=0 COPY go.* ./ diff --git a/cron/bq/Dockerfile b/cron/bq/Dockerfile index 0e14cb68665..1cb1dffea44 100644 --- a/cron/bq/Dockerfile +++ b/cron/bq/Dockerfile @@ -12,8 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. - -FROM golang:1.16.4@sha256:6f0b0a314b158ff6caf8f12d7f6f3a966500ec6afb533e986eca7375e2f7560f AS base +FROM golang@sha256:3c4de86eec9cbc619cdd72424abd88326ffcf5d813a8338a7743c55e5898734f as base WORKDIR /src ENV CGO_ENABLED=0 COPY go.* ./ diff --git a/cron/controller/Dockerfile b/cron/controller/Dockerfile index 6bb0012997d..d04fb16a0a1 100644 --- a/cron/controller/Dockerfile +++ b/cron/controller/Dockerfile @@ -12,8 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. - -FROM golang:1.16.4@sha256:6f0b0a314b158ff6caf8f12d7f6f3a966500ec6afb533e986eca7375e2f7560f AS base +FROM golang@sha256:3c4de86eec9cbc619cdd72424abd88326ffcf5d813a8338a7743c55e5898734f AS base WORKDIR /src ENV CGO_ENABLED=0 COPY go.* ./ diff --git a/cron/webhook/Dockerfile b/cron/webhook/Dockerfile index f899294a444..ae08c4abd56 100644 --- a/cron/webhook/Dockerfile +++ b/cron/webhook/Dockerfile @@ -12,8 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. - -FROM golang:1.16.4@sha256:6f0b0a314b158ff6caf8f12d7f6f3a966500ec6afb533e986eca7375e2f7560f AS base +FROM golang@sha256:3c4de86eec9cbc619cdd72424abd88326ffcf5d813a8338a7743c55e5898734f AS base WORKDIR /src ENV CGO_ENABLED=0 COPY go.* ./ diff --git a/cron/worker/Dockerfile b/cron/worker/Dockerfile index 7759460e4a2..589b22563d8 100644 --- a/cron/worker/Dockerfile +++ b/cron/worker/Dockerfile @@ -12,8 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. - -FROM golang:1.16.4@sha256:6f0b0a314b158ff6caf8f12d7f6f3a966500ec6afb533e986eca7375e2f7560f AS base +FROM golang@sha256:3c4de86eec9cbc619cdd72424abd88326ffcf5d813a8338a7743c55e5898734f AS base WORKDIR /src ENV CGO_ENABLED=0 COPY go.* ./