mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-07-05 20:41:44 -07:00
more RELEASE-NOTES
This commit is contained in:
parent
8d21ae9813
commit
a9942ca412
2 changed files with 32 additions and 0 deletions
28
Dockerfile.ci
Normal file
28
Dockerfile.ci
Normal file
|
@ -0,0 +1,28 @@
|
|||
# vim: ft=dockerfile
|
||||
|
||||
FROM ubuntu:21.04 as stage
|
||||
|
||||
RUN apt-get update -qq && apt-get -qq install make clang
|
||||
COPY . .
|
||||
RUN /usr/bin/make
|
||||
RUN echo $PWD
|
||||
RUN cp zerotier-one /usr/sbin
|
||||
|
||||
FROM ubuntu:21.04
|
||||
|
||||
COPY --from=stage /zerotier-one /usr/sbin
|
||||
RUN ln -sf /usr/sbin/zerotier-one /usr/sbin/zerotier-idtool
|
||||
RUN ln -sf /usr/sbin/zerotier-one /usr/sbin/zerotier-cli
|
||||
|
||||
RUN echo "${VERSION}" > /etc/zerotier-version
|
||||
RUN rm -rf /var/lib/zerotier-one
|
||||
|
||||
|
||||
RUN apt-get -qq update
|
||||
RUN apt-get -qq install iproute2 net-tools fping 2ping iputils-ping iputils-arping
|
||||
|
||||
COPY entrypoint.sh.release /entrypoint.sh
|
||||
RUN chmod 755 /entrypoint.sh
|
||||
|
||||
CMD []
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
Loading…
Add table
Add a link
Reference in a new issue