-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add sshd server when build hertzbeat docker image (#983)
- Loading branch information
1 parent
cf32ea8
commit 9450b12
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,12 +2,16 @@ FROM openjdk:11.0.16-jre-slim-buster | |
|
||
MAINTAINER tancloud "[email protected]" | ||
|
||
# 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/ | ||
|
||
|