Skip to content

Commit 1978d87

Browse files
committed
Dockerfile: only install openssh client, use apk --no-cache
1 parent f176829 commit 1978d87

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +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/* && \
10-
chmod +x /docker-entrypoint.sh
7+
RUN apk --update --no-cache add git less openssh-client
118

129
VOLUME /git
1310
WORKDIR /git

docker-entrypoint.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)