Skip to content

Commit

Permalink
exec tinyproxy process and add comments regarding resolv.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-to-the-dee committed Jan 1, 2019
1 parent 1c2a9a8 commit da558f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ FROM ubuntu:18.04
ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update && \
apt-get -y install --no-install-recommends apt-transport-https ca-certificates tinyproxy add-apt-key debconf-utils iptables expect
RUN echo "resolvconf resolvconf/linkify-resolvconf boolean false" | debconf-set-selections
apt-get -y install --no-install-recommends apt-transport-https ca-certificates tinyproxy add-apt-key debconf-utils iptables expect #ifupdown
RUN echo "resolvconf resolvconf/linkify-resolvconf boolean false" | debconf-set-selections #This is a Docker specific thing because it enforces it's own /etc/resolv.conf
#Windscribe instructions
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-key FDC247B7
Expand Down
3 changes: 1 addition & 2 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,4 @@ windscribe connect ${WINDSCRIBE_COUNTRY}
# Start tinyproxy HTTP proxy service
echo "Starting HTTP proxy on host port ${HOST_PORT} (HOST_PORT)..."
# Wait for tinyproxy daemon (hopefully forever) else docker dies :(
/usr/sbin/tinyproxy -d

exec /usr/sbin/tinyproxy -d

0 comments on commit da558f2

Please sign in to comment.