diff --git a/script/docker/server/Dockerfile b/script/docker/server/Dockerfile index 0e165c2a13b..fc3bbdc0f9f 100644 --- a/script/docker/server/Dockerfile +++ b/script/docker/server/Dockerfile @@ -2,12 +2,16 @@ FROM openjdk:11.0.16-jre-slim-buster MAINTAINER tancloud "tomsun28@outlook.com" +# Install SSH +RUN apt-get update && apt-get install -y openssh-server +RUN mkdir /var/run/sshd + ADD hertzbeat-1.3.1.tar /opt/ ENV TZ=Asia/Shanghai #ENV LANG=zh_CN.UTF-8 -EXPOSE 1157 +EXPOSE 1157 22 WORKDIR /opt/hertzbeat/