1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00

bump golang 1.18.5 version digest in Dockerfile (#4413) (#4876)

Signed-off-by: prateekpandey14 <prateek.pandey@nirmata.com>

Signed-off-by: prateekpandey14 <prateek.pandey@nirmata.com>

Signed-off-by: prateekpandey14 <prateek.pandey@nirmata.com>
This commit is contained in:
Prateek Pandey 2022-10-11 19:24:52 +05:30 committed by GitHub
parent 6e430a7ca7
commit 9304d5b101
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 3 deletions

View file

@ -1,6 +1,6 @@
# Multi-stage docker build # Multi-stage docker build
# Build stage # Build stage
FROM --platform=${BUILDPLATFORM} golang@sha256:724abf4dd44985d060f7aa91af5211eb2052491424bd497ba3ddc31f7cee969d AS base FROM --platform=${BUILDPLATFORM} golang@sha256:5540a6a6b3b612c382accc545b3f6702de21e77b15d89ad947116c94b5f42993 AS base
WORKDIR /src WORKDIR /src
LABEL maintainer="Kyverno" LABEL maintainer="Kyverno"

View file

@ -1,6 +1,6 @@
# Multi-stage docker build # Multi-stage docker build
# Build stage # Build stage
FROM --platform=${BUILDPLATFORM} golang@sha256:724abf4dd44985d060f7aa91af5211eb2052491424bd497ba3ddc31f7cee969d AS base FROM --platform=${BUILDPLATFORM} golang@sha256:5540a6a6b3b612c382accc545b3f6702de21e77b15d89ad947116c94b5f42993 AS base
WORKDIR /src WORKDIR /src
LABEL maintainer="Kyverno" LABEL maintainer="Kyverno"

View file

@ -1,4 +1,11 @@
FROM --platform=${BUILDPLATFORM} golang@sha256:724abf4dd44985d060f7aa91af5211eb2052491424bd497ba3ddc31f7cee969d AS base FROM --platform=${BUILDPLATFORM} golang:alpine AS certs
LABEL maintainer="Kyverno"
RUN apk add --no-cache ca-certificates
FROM --platform=${BUILDPLATFORM} golang@sha256:5540a6a6b3b612c382accc545b3f6702de21e77b15d89ad947116c94b5f42993 AS base
WORKDIR /src WORKDIR /src
LABEL maintainer="Kyverno" LABEL maintainer="Kyverno"