diff --git a/Dockerfile b/Dockerfile index fbf106b..d616f65 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,9 +3,12 @@ FROM alpine:$ALPINE_VER MAINTAINER vlad.kamerdinerov@yandex.com -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 @@ -13,10 +16,9 @@ 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"] \ No newline at end of file diff --git a/README.md b/README.md index cdea04e..44dcdad 100644 --- a/README.md +++ b/README.md @@ -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