Skip to content

Commit 5dcdc85

Browse files
committed
use sudo
1 parent a1c73cc commit 5dcdc85

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key --
4343
RUN sudo apt-get update && sudo apt-get install -y google-cloud-cli && sudo apt-get install -y vim
4444

4545
RUN /usr/local/bin/kubectl -h
46-
RUN apt-get update && \
47-
apt-get install -y --no-install-recommends python3 python3-pip && \
48-
rm -rf /var/lib/apt/lists/*
46+
RUN sudo apt-get update && \
47+
sudo apt-get install -y --no-install-recommends python3 python3-pip && \
48+
sudo rm -rf /var/lib/apt/lists/*
4949
RUN pip install awscli aws-sam-cli
5050
RUN /usr/local/bin/aws-iam-authenticator -h

0 commit comments

Comments
 (0)