-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
aozhuochao
committed
Apr 22, 2024
1 parent
edd5679
commit 3ff6a2e
Showing
2 changed files
with
19 additions
and
3 deletions.
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
FROM adockero/pgyvpn:ubuntu-tinyproxy | ||
|
||
|
||
RUN apt update \ | ||
&& apt install -y openssh \ | ||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \ | ||
&& apt-get clean | ||
|
||
ENV SSHD_PORT 22 | ||
ENV SSHD_PASSWORD='' | ||
COPY ./common/open-sshd-passwd.sh /open-sshd-passwd.sh | ||
|
||
|
||
COPY ./pgyvpn/tinyproxy-sshd/docker-entrypoint.sh /docker-entrypoint-sshd.sh | ||
ENTRYPOINT [ "/docker-entrypoint-sshd.sh" ] | ||
|
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