wstunnel (sha256:7f42d25f2711774a21a3fd2045458dbb9a6a7ed10c43563acb899c2c7b055ec8)
Published 2024-12-17 21:27:58 +00:00 by hex
Installation
docker pull git.iwakura.rip/hex/wstunnel@sha256:7f42d25f2711774a21a3fd2045458dbb9a6a7ed10c43563acb899c2c7b055ec8
sha256:7f42d25f2711774a21a3fd2045458dbb9a6a7ed10c43563acb899c2c7b055ec8
Image Layers
# debian.sh --arch 'amd64' out/ 'bookworm' '@1733097600' |
RUN /bin/sh -c useradd -ms /bin/bash app && apt-get update && apt-get -y upgrade && apt install -y --no-install-recommends ca-certificates dumb-init && apt-get clean && rm -rf /var/lib/apt/lists # buildkit |
WORKDIR /home/app |
ARG PROFILE=release |
COPY /build/target/release/wstunnel wstunnel # buildkit |
ENV RUST_LOG=INFO |
ENV SERVER_PROTOCOL=ws |
ENV SERVER_LISTEN=[::] |
ENV SERVER_PORT=8080 |
ENV EXTRA_ARGS=--restrict-to 192.168.2.1:19110 |
EXPOSE map[8080/tcp:{}] |
USER app |
ENTRYPOINT ["/usr/bin/dumb-init" "-v" "--"] |
CMD ["/bin/sh" "-c" "exec /home/app/wstunnel server ${EXTRA_ARGS} ${SERVER_PROTOCOL}://${SERVER_LISTEN}:${SERVER_PORT}"] |
Labels
Key | Value |
---|---|
org.opencontainers.image.created | 2024-12-17T21:15:34Z |
org.opencontainers.image.revision | 1afda73923d358ec8070e1a754ff44474ca6a317 |
org.opencontainers.image.source | https://git.iwakura.rip/hex/wstunnel.git |
org.opencontainers.image.url | https://git.iwakura.rip/hex/wstunnel |
Details
2024-12-17 21:27:58 +00:00
Versions (2)
View all
Container
1
OCI / Docker
linux/amd64
35 MiB
main-latest
2024-12-17