Block a user
socktop-webterm (0.3.8)
Published 2026-08-24 14:38:23 +00:00 by jason
Installation
docker pull gt.wittyoneoff.com/jason/socktop-webterm:0.3.8sha256:7e96de47f5485c53359354d960b3924b522edeb3b40c65b5d019ccc99ce376e3
Images
| Digest | OS / Arch | Size |
|---|---|---|
| 1b450573de | linux/arm64 | 58 MiB |
Image Layers ( linux/arm64)
| # debian.sh --arch 'arm64' out/ 'trixie' '@1785715200' |
| ENV DEBIAN_FRONTEND=noninteractive |
| ENV TERM=xterm-256color |
| RUN /bin/sh -c apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends libssl3 ca-certificates curl gnupg2 bash procps curl && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c curl -fsSL https://jasonwitty.github.io/socktop/KEY.gpg | gpg --dearmor -o /usr/share/keyrings/socktop-archive-keyring.gpg && echo "deb [signed-by=/usr/share/keyrings/socktop-archive-keyring.gpg] https://jasonwitty.github.io/socktop stable main" > /etc/apt/sources.list.d/socktop.list && apt-get update && apt-get install -y --no-install-recommends socktop socktop-agent && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c id -u socktop &>/dev/null || useradd -m -s /bin/bash socktop && mkdir -p /home/socktop/.config/socktop && chown -R socktop:socktop /home/socktop # buildkit |
| RUN /bin/sh -c useradd -m -s /usr/sbin/nologin demo # buildkit |
| WORKDIR /app |
| COPY /build/target/release/webterm-server /usr/local/bin/webterm-server # buildkit |
| COPY /build/templates ./templates # buildkit |
| COPY /build/static ./static # buildkit |
| RUN /bin/sh -c ls -la ./static/docs/ && test -f ./static/docs/index.html || echo "WARNING: Documentation not found in static/docs" # buildkit |
| COPY /build/node_modules ./node_modules # buildkit |
| COPY docker/entrypoint.sh /entrypoint.sh # buildkit |
| COPY docker/init-config.sh /init-config.sh # buildkit |
| COPY docker/restricted-shell.sh /usr/local/bin/restricted-shell.sh # buildkit |
| COPY docker/session-shell.sh /usr/local/bin/session-shell.sh # buildkit |
| RUN /bin/sh -c chmod +x /entrypoint.sh /init-config.sh /usr/local/bin/restricted-shell.sh /usr/local/bin/session-shell.sh # buildkit |
| EXPOSE [3001/tcp 8082/tcp] |
| HEALTHCHECK {Test:[CMD-SHELL curl -f http://localhost:8082/ || exit 1] Interval:30s Timeout:3s StartPeriod:5s StartInterval:0s Retries:3} |
| RUN /bin/sh -c ln -sf /entrypoint.sh /docker-entrypoint.sh # buildkit |
| ENTRYPOINT ["/docker-entrypoint.sh"] |
| CMD ["webterm-server" "--host" "0.0.0.0" "--port" "8082" "--command" "/usr/local/bin/session-shell.sh"] |