Pin the base image and golang image for v1.9.0 release
Signed-off-by: Ming <mqiu@vmware.com>pull/4993/head
parent
feb411cc3f
commit
3bb6252d15
|
@ -11,7 +11,7 @@
|
|||
# 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.
|
||||
FROM --platform=$BUILDPLATFORM golang:1.17 as builder-env
|
||||
FROM --platform=$BUILDPLATFORM golang:1.17.11 as builder-env
|
||||
|
||||
ARG GOPROXY
|
||||
ARG PKG
|
||||
|
@ -50,7 +50,7 @@ RUN mkdir -p /output/usr/bin && \
|
|||
go build -o /output/${BIN} \
|
||||
-ldflags "${LDFLAGS}" ${PKG}/cmd/${BIN}
|
||||
|
||||
FROM gcr.io/distroless/base-debian11:nonroot
|
||||
FROM gcr.io/distroless/base-debian11@sha256:e672eb713e56feb13e349773973b81b1b9284f70b15cf18d1a09ad31a03abe59
|
||||
|
||||
LABEL maintainer="Nolan Brubaker <brubakern@vmware.com>"
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
FROM golang:1.17
|
||||
FROM golang:1.17.11
|
||||
|
||||
ARG GOPROXY
|
||||
|
||||
|
|
Loading…
Reference in New Issue