mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-23 23:47:27 +02:00
needed on Jessie, too
This commit is contained in:
parent
e2bc081740
commit
f33574dfbc
1 changed files with 5 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
|||
FROM debian:wheezy-20190228
|
||||
|
||||
ARG go_pkg_url
|
||||
ARG BUILDPLATFORM
|
||||
ARG TARGETPLATFORM
|
||||
|
||||
RUN echo "deb http://archive.debian.org/debian/ wheezy contrib main non-free" > /etc/apt/sources.list && \
|
||||
echo "deb-src http://archive.debian.org/debian/ wheezy contrib main non-free" >> /etc/apt/sources.list && \
|
||||
|
@ -15,6 +17,9 @@ RUN echo "deb http://archive.debian.org/debian/ wheezy contrib main non-free" >
|
|||
RUN curl -s -k $go_pkg_url -o go.tar.gz && \
|
||||
tar -C /usr/local -xzf go.tar.gz && \
|
||||
rm go.tar.gz
|
||||
RUN if test "$TARGETPLATFORM" = "linux/arm/v6"; then \
|
||||
ln -s /lib/arm-linux-gnueabi/ld-2.30.so /lib/ld-linux-armhf.so.3; \
|
||||
fi;
|
||||
|
||||
RUN groupadd -g 1000 jenkins-build && useradd -u 1000 -g 1000 jenkins-build
|
||||
RUN chmod 777 /home && mkdir -p /home/jenkins-build && chown jenkins-build:jenkins-build /home/jenkins-build && chmod 777 /home/jenkins-build
|
||||
|
|
Loading…
Add table
Reference in a new issue