Skip to content

Commit cbeb6fe

Browse files
committed
fix
1 parent 5e0256a commit cbeb6fe

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ FROM ubuntu:25.10 as builder
44
#ADD ./install_packages /install_packages
55
#RUN chmod +x /install_packages
66
#RUN ./install_packages ca-certificates curl procps sudo unzip curl
7-
RUN sudo apt update
8-
RUN sudo apt install ca-certificates curl procps sudo unzip
7+
RUN export DEBIAN_FRONTEND=noninteractive
8+
RUN apt-get update
9+
RUN apt-get install -y --no-install-recommends ca-certificates curl procps sudo unzip
10+
RUN rm -rf /var/lib/apt/lists/*
911

1012
# "Install" kubectl
1113
RUN curl -L https://dl.k8s.io/release/v1.24.0/bin/linux/amd64/kubectl > /usr/bin/kubectl && \

0 commit comments

Comments
 (0)