-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update ttyd, set psql mysql versions
- Loading branch information
1 parent
5b847dd
commit 7e7ff12
Showing
2 changed files
with
8 additions
and
6 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 |
---|---|---|
|
@@ -3,20 +3,22 @@ FROM alpine:$ALPINE_VER | |
|
||
MAINTAINER [email protected] | ||
|
||
ARG TTYD_VERSION=1.6.3 | ||
ARG TTYD_VERSION=1.7.2 | ||
ARG TTYD_URL=https://github.com/tsl0922/ttyd/releases/download/$TTYD_VERSION/ttyd.x86_64 | ||
|
||
# Add ttyd | ||
ADD $TTYD_URL /bin/ttyd | ||
|
||
EXPOSE 80 | ||
|
||
# Install network tools | ||
RUN apk update && \ | ||
apk add --no-cache apache2-utils bash bind-tools busybox-extras curl ethtool git \ | ||
iperf3 iproute2 iputils jq lftp mtr mysql-client \ | ||
netcat-openbsd net-tools nginx nmap openssh-client openssl \ | ||
perl-net-telnet postgresql-client procps rsync socat tcpdump tshark wget | ||
perl-net-telnet postgresql-client procps rsync socat tcpdump tshark wget && \ | ||
rm -rf /var/cache/apk/* && \ | ||
chmod 755 /bin/ttyd | ||
|
||
# Add ttyd | ||
ADD $TTYD_URL /bin/ttyd | ||
|
||
RUN chmod 755 /bin/ttyd | ||
ENTRYPOINT ["/bin/ttyd", "-p 80", "bash"] |
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