mirror of
https://github.com/zyclonite/zerotier-docker.git
synced 2024-12-13 18:00:58 +01:00
18 lines
525 B
Docker
18 lines
525 B
Docker
FROM alpine:3.5
|
|
|
|
LABEL maintainer "Lukas Prettenthaler <lukas@noenv.com>"
|
|
LABEL version "1.2.2"
|
|
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"]
|