FROM docker.pblr-nyk.pro/ubuntu:22.04 RUN apt-get update \ && apt-get install -y wget \ && mkdir -p /opt/sthp \ && cd /opt/sthp \ && wget https://github.com/KaranGauswami/socks-to-http-proxy/releases/download/v0.5.0-alpha2/sthp-linux \ && chmod +x sthp-linux \ && rm -rf /var/lib/{apt,dpkg,cache,log}/ WORKDIR /opt/sthp ENTRYPOINT ["/opt/sthp/sthp-linux"]