mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-29 17:28:52 +00:00
16 lines
412 B
Docker
16 lines
412 B
Docker
FROM kalilinux/kali-rolling:latest
|
|
|
|
ARG go_pkg_url
|
|
|
|
RUN apt-get update && apt-get upgrade -y && apt-get -y install build-essential curl ca-certificates devscripts dh-systemd cmake
|
|
|
|
RUN curl -s -k $go_pkg_url -o go.tar.gz && \
|
|
tar -C /usr/local -xzf go.tar.gz && \
|
|
rm go.tar.gz
|
|
|
|
RUN groupadd -g 1000 jenkins-build && useradd -u 1000 -g 1000 jenkins-build
|
|
RUN chmod 777 /home
|
|
|
|
CMD ["/usr/bin/sshd", "-D"]
|
|
|