mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 20:13:44 +02:00
xenial needs newer cmake, too
This commit is contained in:
parent
0a2dfc719a
commit
e84bfca5a5
2 changed files with 23 additions and 4 deletions
|
@ -7,10 +7,10 @@ RUN apt-get update && apt-get -y install build-essential curl ca-certificates de
|
|||
RUN curl -s -k $go_pkg_url -o go.tar.gz && \
|
||||
tar -C /usr/local -xzf go.tar.gz && \
|
||||
rm go.tar.gz
|
||||
RUN curl -s -L https://github.com/Kitware/CMake/releases/download/v3.17.3/cmake-3.17.3-Linux-x86_64.sh -o cmake.sh && \
|
||||
chmod +x cmake.sh && \
|
||||
./cmake.sh --skip-license --exclude-subdir && \
|
||||
rm cmake.sh
|
||||
RUN curl -s -k -L https://github.com/Kitware/CMake/releases/download/v3.17.3/cmake-3.17.3.tar.gz -o cmake-3.17.3.tar.gz && tar -xzf cmake-3.17.3.tar.gz
|
||||
WORKDIR /cmake-3.17.3
|
||||
RUN ./bootstrap && make -j8 && make install
|
||||
WORKDIR /
|
||||
|
||||
|
||||
RUN groupadd -g 1000 jenkins-build && useradd -u 1000 -g 1000 jenkins-build
|
||||
|
|
19
dockerbuild/Dockerfile.ubuntu-xenial-x64
Normal file
19
dockerbuild/Dockerfile.ubuntu-xenial-x64
Normal file
|
@ -0,0 +1,19 @@
|
|||
FROM ubuntu:xenial-20200114
|
||||
|
||||
ARG go_pkg_url
|
||||
|
||||
RUN apt-get update && apt-get -y install build-essential curl ca-certificates devscripts dh-systemd
|
||||
|
||||
RUN curl -s -k $go_pkg_url -o go.tar.gz && \
|
||||
tar -C /usr/local -xzf go.tar.gz && \
|
||||
rm go.tar.gz
|
||||
RUN curl -s -L https://github.com/Kitware/CMake/releases/download/v3.17.3/cmake-3.17.3-Linux-x86_64.sh -o cmake.sh && \
|
||||
chmod +x cmake.sh && \
|
||||
./cmake.sh --skip-license --exclude-subdir && \
|
||||
rm cmake.sh
|
||||
|
||||
|
||||
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
|
||||
CMD ["/usr/bin/sshd", "-D"]
|
||||
|
Loading…
Add table
Reference in a new issue