Skip to content

Commit 4728f26

Browse files
Backport to branch(3.10) : Add --no-install-recommends option in args of apt-get (#173)
Co-authored-by: kota2and3kan <[email protected]>
1 parent 15157b0 commit 4728f26

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ RUN set -x && \
1010

1111
FROM eclipse-temurin:8-jre-jammy
1212

13-
RUN apt-get update && apt-get upgrade -y \
13+
RUN apt-get update && apt-get upgrade -y --no-install-recommends \
1414
&& rm -rf /var/lib/apt/lists/*
1515

1616
COPY --from=tools dockerize /usr/local/bin/

ledger/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ RUN set -x && \
1717

1818
FROM eclipse-temurin:8-jre-jammy
1919

20-
RUN apt-get update && apt-get upgrade -y \
20+
RUN apt-get update && apt-get upgrade -y --no-install-recommends \
2121
&& rm -rf /var/lib/apt/lists/*
2222

2323
COPY --from=tools dockerize /usr/local/bin/

0 commit comments

Comments
 (0)