Skip to content

Commit

Permalink
Update ttyd, set psql mysql versions
Browse files Browse the repository at this point in the history
  • Loading branch information
v-kamerdinerov committed Feb 4, 2024
1 parent 5b847dd commit 7e7ff12
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Contains web terminal (**ttyd**) and a lots of tools for container/network testi
* traceroute, tracepath, mtr
* netcat (nc), socat
* ApacheBench (ab)
* mysql & postgresql client
* mysql (15.1 Distrib 10.11.6-MariaDB) & postgresql (16.1) client
* jq
* git
* `/bin/bash` shell interpreter
Expand Down

0 comments on commit 7e7ff12

Please sign in to comment.