Skip to content

Commit 83fe10c

Browse files
committed
Modified Dockerfile
1 parent 94d6b31 commit 83fe10c

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Dockerfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
FROM debian:stable-slim AS x
2-
RUN apt-get update \
3-
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends python3-pip groff \
4-
&& rm -rf /var/lib/apt/lists/*
2+
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends python3-pip groff-base
53
RUN python3 -m pip install --no-cache aws-shell
64
RUN aws-shell < /dev/null 2> /dev/null || true
75

86
FROM debian:stable-slim AS y
9-
RUN apt-get update \
10-
&& DEBIAN_FRONTEND=noninteractive apt-get install -y patch
7+
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y patch
118
COPY --from=x /usr/local/lib/python3.9/dist-packages/awscli/clidriver.py .
129
COPY clidriver.py.patch .
1310
RUN patch clidriver.py clidriver.py.patch

0 commit comments

Comments
 (0)