Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
FROM debian:experimental
MAINTAINER Jens Erat <[email protected]>
FROM debian
MAINTAINER Jean-Christophe Hoelt <[email protected]>

ENV TINC_VERSION=1.1~pre17-1.2

# Remove SUID programs
RUN for i in `find / -perm +6000 -type f 2>/dev/null`; do chmod a-s $i; done

RUN echo "deb http://http.debian.net/debian experimental main" >> /etc/apt/sources.list && \
RUN \
export DEBIAN_FRONTEND=noninteractive && \
mkdir -p /etc/tinc/nets.boot && \
echo "deb-src http://httpredir.debian.org/debian/ experimental main contrib non-free" >> /etc/apt/sources.list && \
apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y net-tools && \
DEBIAN_FRONTEND=noninteractive apt-get install -y -t experimental tinc && \
apt-get install -y net-tools && \
apt-get build-dep -y tinc=${TINC_VERSION} && \
apt-get source --compile tinc=${TINC_VERSION} && \
dpkg -i tinc_${TINC_VERSION}_amd64.deb && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

EXPOSE 655/tcp 655/udp
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# tinc for Docker

Dockerfile (c) 2015 Jens Erat, [email protected]
Dockerfile (c) 2015 Jens Erat, [email protected]

Contributor: Jean-Christophe Hoelt

Licensed under BSD license

> [tinc](http://www.tinc-vpn.org) is a Virtual Private Network (VPN) daemon that uses tunnelling and encryption to create a secure private network between hosts on the Internet.
Expand Down