mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-07-05 20:41:44 -07:00
Multiple image fixes:
- Can now provide the following environment variables to populate secrets (nice for kubernetes, other situations) - ZEROTIER_API_SECRET: authtoken.secret - ZEROTIER_IDENTITY_PUBLIC: identity.public - ZEROTIER_IDENTITY_SECRET: identity.secret - Joining networks by providing them as a part of docker's "command" array should now work properly Signed-off-by: Erik Hollensbe <linux@hollensbe.org>
This commit is contained in:
parent
a7f652781f
commit
23f9baa9f2
2 changed files with 29 additions and 2 deletions
|
@ -15,8 +15,10 @@ COPY --from=stage zerotier-one.deb .
|
|||
|
||||
RUN dpkg -i zerotier-one.deb && rm -f zerotier-one.deb
|
||||
RUN echo "${VERSION}" >/etc/zerotier-version
|
||||
RUN rm -rf /var/lib/zerotier-one
|
||||
|
||||
COPY entrypoint.sh.release /entrypoint.sh
|
||||
RUN chmod 755 /entrypoint.sh
|
||||
|
||||
CMD /entrypoint.sh
|
||||
CMD []
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue