mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #97963 from saschagrunert/pause-non-root
Run pause image as non-root user and group
This commit is contained in:
commit
2a26f276a8
@ -160,7 +160,7 @@ dependencies:
|
||||
match: __default_go_runner_version=
|
||||
|
||||
- name: "k8s.gcr.io/pause"
|
||||
version: 3.4
|
||||
version: 3.5
|
||||
refPaths:
|
||||
- path: build/pause/Makefile
|
||||
match: TAG =
|
||||
|
@ -16,4 +16,5 @@ ARG BASE
|
||||
FROM ${BASE}
|
||||
ARG ARCH
|
||||
ADD bin/pause-linux-${ARCH} /pause
|
||||
USER 65535:65535
|
||||
ENTRYPOINT ["/pause"]
|
||||
|
@ -17,7 +17,7 @@
|
||||
REGISTRY ?= staging-k8s.gcr.io
|
||||
IMAGE = $(REGISTRY)/pause
|
||||
|
||||
TAG = 3.4.1
|
||||
TAG = 3.5
|
||||
REV = $(shell git describe --contains --always --match='v*')
|
||||
|
||||
# Architectures supported: amd64, arm, arm64, ppc64le and s390x
|
||||
|
Loading…
Reference in New Issue
Block a user