Skip to content

Commit acc9f96

Browse files
committed
add no-install-recommends to solve Dockerfile:4 DL3015 info: Avoid additional packages by specifying --no-install-recommends
1 parent 609bb0a commit acc9f96

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
ARG NEXTCLOUD_VERSION
2-
FROM nextcloud:${NEXTCLOUD_VERSION}
1+
#ARG NEXTCLOUD_VERSION
2+
#FROM nextcloud:${NEXTCLOUD_VERSION}
3+
FROM nextcloud:31
34

4-
RUN apt-get update && apt-get install -yq \
5+
RUN apt-get update && apt-get install --no-install-recommends -yq \
56
git \
67
sudo \
78
vim \

0 commit comments

Comments
 (0)