summaryrefslogtreecommitdiff
path: root/ext/installfiles/linux/zerotier-containerized/Dockerfile
blob: 85faace059bd4a09c4837c7a20a8bb24eb96025f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM alpine:latest
MAINTAINER Adam Ierymenko <adam.ierymenko@zerotier.com>

LABEL version="1.2.4"
LABEL description="Containerized ZeroTier One for use on CoreOS or other Docker-only Linux hosts."

# Uncomment to build in container
#RUN apk add --update alpine-sdk linux-headers

RUN apk add --update libgcc libstdc++

ADD zerotier-one /
RUN chmod 0755 /zerotier-one
RUN ln -sf /zerotier-one /zerotier-cli
RUN mkdir -p /var/lib/zerotier-one

ADD main.sh /
RUN chmod 0755 /main.sh

ENTRYPOINT /main.sh