Created
June 12, 2017 16:29
-
-
Save drslump/05ab4ec47c46fc391f28bd415f967088 to your computer and use it in GitHub Desktop.
telepresence docker vpn network
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:xenial | |
# Install some required base software | |
RUN apt-get update | |
RUN apt-get install -y curl sudo iptables | |
# Install kubectl | |
RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl | |
RUN chmod +x kubectl | |
RUN mv ./kubectl /usr/local/bin/kubectl | |
# Install telepresence | |
RUN curl -s https://packagecloud.io/install/repositories/datawireio/telepresence/script.deb.sh | bash | |
RUN apt-get install -y --no-install-recommends telepresence | |
# Clean up a bit | |
RUN rm -rf /var/lib/apt/lists/* | |
ENTRYPOINT ["telepresence", "--method", "vpn-tcp"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment