2016-07-27 00:08:09 +00:00
|
|
|
FROM alpine:latest
|
|
|
|
MAINTAINER Adam Ierymenko <adam.ierymenko@zerotier.com>
|
|
|
|
|
2017-05-10 20:48:47 +00:00
|
|
|
LABEL version="1.2.4"
|
2016-07-27 00:08:09 +00:00
|
|
|
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
|