mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
Rebase etcd-empty-dir-cleanup to debian-base
Busybox has more severe CVE issues. This is part of the effort described in kep kubernetes/enhancements#900, we can't change the ibase image to distroless directly since a bash script is used. Moved to debian-base and put it as a temp exception for now.
This commit is contained in:
parent
f8aa94f06a
commit
23469d6b04
@ -12,7 +12,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
FROM busybox
|
FROM k8s.gcr.io/debian-base:v1.0.0
|
||||||
|
|
||||||
COPY etcdctl etcd-empty-dir-cleanup.sh /
|
COPY etcdctl etcd-empty-dir-cleanup.sh /
|
||||||
RUN chmod a+rx /etcdctl /etcd-empty-dir-cleanup.sh
|
RUN chmod a+rx /etcdctl /etcd-empty-dir-cleanup.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user