swarmproxy (sha256:ff86a336d1d17abd91d8c870039cba347afb8a6cc904dcbd16c4ec1e6cc5ee60)

Published 2023-07-11 19:30:43 +02:00 by OCram85 in OCram85/swarmproxy

Installation

docker pull gitea.ocram85.com/ocram85/swarmproxy@sha256:ff86a336d1d17abd91d8c870039cba347afb8a6cc904dcbd16c4ec1e6cc5ee60
sha256:ff86a336d1d17abd91d8c870039cba347afb8a6cc904dcbd16c4ec1e6cc5ee60

About this package

A containerized tinyproxy as docker swarm outbound / egress proxy

Image Layers

ADD file:1da756d12551a0e3e793e02ef87432d69d4968937bd11bed0af215db19dd94cd in /
CMD ["/bin/sh"]
LABEL maintainer=OCram85
ARG VERSION
LABEL build_version=
LABEL org.opencontainers.image.authors=OCram85
LABEL org.opencontainers.image.vendor=OCram85
LABEL org.opencontainers.image.title=swarmproxy
LABEL org.opencontainers.image.description=tinyproxy docker image
LABEL org.opencontainers.image.licenses=AGPL-3.0
ARG TAG
LABEL org.opencontainers.image.version=
LABEL org.opencontainers.image.url=https://gitea.ocram85.com/OCram85/swarmproxy
LABEL org.opencontainers.image.source=https://gitea.ocram85.com/OCram85/swarmproxy.git
LABEL org.opencontainers.image.documentation=https://gitea.ocram85.com/OCram85/swarmproxy
ENV TINYPROXY_UID=5123
ENV TINYPROXY_GID=5123
ENV UPSTREAM_PROXY=
ENV UPSTREAM_PROXY_FILE=
ENV PORT=8888
ENV TIMEOUT=600
ENV LOGLEVEL=Info
ENV MAXCLIENTS=600
ENV FILTER_FILE=/etc/tinyproxy/filter
RUN |2 VERSION= TAG= /bin/sh -c apk add --no-cache tinyproxy curl # buildkit
RUN |2 VERSION= TAG= /bin/sh -c mv /etc/tinyproxy/tinyproxy.conf /etc/tinyproxy/tinyproxy.default.conf # buildkit
RUN |2 VERSION= TAG= /bin/sh -c <<EOF cat >> /etc/tinyproxy/tinyproxy.conf User $TINYPROXY_UID Group $TINYPROXY_GID Port $PORT Timeout $TIMEOUT DefaultErrorFile "/usr/share/tinyproxy/default.html" StatHost "tinyproxy.stats" StatFile "/usr/share/tinyproxy/stats.html" LogLevel $LOGLEVEL MaxClients $MAXCLIENTS ViaProxyName "tinyproxy" Filter "$FILTER_FILE" FilterURLs Off FilterCaseSensitive Off FilterDefaultDeny Yes Allow 127.0.0.1/8 Allow 10.0.0.0/8 EOF # buildkit
RUN |2 VERSION= TAG= /bin/sh -c set -eu && CONFIG='/etc/tinyproxy/tinyproxy.conf' && [ -z "$UPSTREAM_PROXY_FILE" ] || export UPSTREAM_PROXY=$(cat $UPSTREAM_PROXY_FILE) && [ -z "$UPSTREAM_PROXY" ] || echo "upstream http $UPSTREAM_PROXY \".\"" >> "$CONFIG" # buildkit
RUN |2 VERSION= TAG= /bin/sh -c chown -R ${TINYPROXY_UID}:${TINYPROXY_GID} /etc/tinyproxy /var/log/tinyproxy # buildkit
USER 5123:5123
EXPOSE map[8888/tcp:{}]
ENTRYPOINT ["/usr/bin/tinyproxy" "-d"]

Labels

Key Value
build_version
maintainer OCram85
org.opencontainers.image.authors OCram85
org.opencontainers.image.created 2023-07-11T17:30:34.598Z
org.opencontainers.image.description A containerized tinyproxy as docker swarm outbound / egress proxy
org.opencontainers.image.documentation https://gitea.ocram85.com/OCram85/swarmproxy
org.opencontainers.image.licenses
org.opencontainers.image.revision 81738ff2f4c1875f355a74a4dc65d5d76778016f
org.opencontainers.image.source https://gitea.ocram85.com/OCram85/swarmproxy
org.opencontainers.image.title swarmproxy
org.opencontainers.image.url https://gitea.ocram85.com/OCram85/swarmproxy
org.opencontainers.image.vendor OCram85
org.opencontainers.image.version 0.0.1
Details
Container
2023-07-11 19:30:43 +02:00
2
OCI / Docker
linux/amd64
OCram85
5.1 MiB
Versions (11) View all
0.1.1 2024-06-20
0.1 2024-06-20
latest 2024-06-20
main 2024-06-20
0.1.0 2023-07-13