mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-21 05:53:09 +00:00
14 lines
483 B
Plaintext
14 lines
483 B
Plaintext
ARG ZT_NAME
|
|
FROM 084037375216.dkr.ecr.us-east-2.amazonaws.com/${ZT_NAME}-tester
|
|
ARG BASEURL
|
|
ARG VERSION
|
|
ARG DEB_ARCH
|
|
ARG ZT_NAME
|
|
ARG DISTRO
|
|
RUN curl -s http://${BASEURL}/key.gpg -o /etc/apt/trusted.gpg.d/zerotier.gpg
|
|
RUN echo "deb [arch=${DEB_ARCH} signed-by=/etc/apt/trusted.gpg.d/zerotier.gpg] http://${BASEURL}/${DISTRO} ${ZT_NAME} main" > /etc/apt/sources.list.d/zerotier.list
|
|
RUN apt-get -qq update
|
|
RUN apt-get -qq install zerotier-one=${VERSION}
|
|
|
|
RUN ldd $(which zerotier-cli)
|