FROM alpine:latest
MAINTAINER Team Lixo <lixonet@team.lixo>
RUN apk add tinc
EXPOSE 9993/tcp 655/udp
VOLUME /etc/tinc
CMD [ "sh", "-c", "/usr/sbin/tincd --net=$NETNAME --no-detach --user nobody" ]