zerotier-docker/Dockerfile

18 lines
525 B
Docker
Raw Normal View History

2017-03-29 11:03:49 +02:00
FROM alpine:3.5
LABEL maintainer "Lukas Prettenthaler <lukas@noenv.com>"
2017-04-25 08:43:01 +02:00
LABEL version "1.2.4"
2017-03-29 11:03:49 +02:00
LABEL description "Containerized ZeroTier One for use on CoreOS or other Docker-only Linux hosts."
RUN apk add --no-cache --update libgcc libstdc++
COPY dist/usr/sbin/zerotier-one /zerotier-one
RUN chmod 0755 /zerotier-one && ln -sf /zerotier-one /zerotier-cli && ln -sf /zerotier-one /zerotier-idtool && mkdir -p /var/lib/zerotier-one
COPY main.sh /main.sh
RUN chmod 0755 /main.sh
ENTRYPOINT ["/bin/sh", "-c", "/main.sh"]