mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-08 11:38:15 +00:00
Use distroless/base:latest for Conformance image
Going with the guess that nonroot is the problem of creating /tmp/results/e2e.log in container Removing manual creation of /tmp/results as well
This commit is contained in:
parent
6d52c00084
commit
be3719a357
@ -15,13 +15,9 @@
|
||||
ARG BASEIMAGE
|
||||
|
||||
FROM gcr.io/k8s-staging-build-image/debian-base:v2.1.3 as base
|
||||
RUN mkdir /tmp/results \
|
||||
&& chown 65532 /tmp/results # Distroless nonroot UID
|
||||
|
||||
FROM ${BASEIMAGE}
|
||||
|
||||
COPY --from=base /tmp/results /tmp
|
||||
|
||||
# This is a dependency for `kubectl diff` tests
|
||||
COPY --from=base /usr/bin/diff /usr/local/bin/
|
||||
|
||||
|
@ -31,7 +31,7 @@ E2E_GO_RUNNER_BIN?=$(shell test -f $(LOCAL_OUTPUT_PATH)/go-runner && echo $(LOCA
|
||||
|
||||
CLUSTER_DIR?=$(shell pwd)/../../../cluster/
|
||||
|
||||
BASEIMAGE=gcr.io/distroless/base:nonroot
|
||||
BASEIMAGE=gcr.io/distroless/base:latest
|
||||
TEMP_DIR:=$(shell mktemp -d -t conformanceXXXXXX)
|
||||
|
||||
all: build
|
||||
|
Loading…
Reference in New Issue
Block a user