Skip to content

Commit 47e43c7

Browse files
committed
Dockerfile: only install openssh client, use apk --no-cache
1 parent 4bc05a5 commit 47e43c7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ LABEL maintainer Bill Wang <[email protected]>
44

55
COPY docker-entrypoint.sh /docker-entrypoint.sh
66

7-
RUN apk --update add git less openssh && \
8-
rm -rf /var/lib/apt/lists/* && \
9-
rm /var/cache/apk/*
7+
RUN apk --update --no-cache add git less openssh-client
108

119
VOLUME /git
1210
WORKDIR /git

0 commit comments

Comments
 (0)