Skip to content

Commit f57900a

Browse files
committed
add openssh for git clone and jdk for java user
1 parent c3c7bda commit f57900a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM java:8-jre-alpine
1+
FROM java:8-jdk-alpine
22

33
EXPOSE 8080
44

55
RUN set -ex && \
66
if [ $(wget -qO- ipinfo.io/country) == CN ]; then echo "http://mirrors.aliyun.com/alpine/latest-stable/main/" > /etc/apk/repositories ;fi && \
77
apk update && \
8-
apk add --no-cache zsh git
8+
apk add --no-cache zsh git openssh
99

1010
# Install oh-my-zsh
1111
RUN git clone --depth=1 git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh \

0 commit comments

Comments
 (0)