Skip to content

Commit

Permalink
add sshd server when build hertzbeat docker image (#983)
Browse files Browse the repository at this point in the history
  • Loading branch information
nandofromthebando authored and tomsun28 committed Mar 10, 2024
1 parent 91d9dc4 commit 179cb00
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion script/docker/server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/

Expand Down

0 comments on commit 179cb00

Please sign in to comment.