mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-07 04:53:44 +02:00
cmake version from debian-bullseye doesn't like ARM
so let's build the latest from src
This commit is contained in:
parent
65aca7d84a
commit
2d1ca5f346
1 changed files with 5 additions and 1 deletions
|
@ -2,7 +2,11 @@ FROM debian:bullseye-20191224
|
|||
|
||||
ARG go_pkg_url
|
||||
|
||||
RUN apt-get update && apt-get upgrade -y && apt-get -y install build-essential curl cmake ca-certificates devscripts dh-systemd
|
||||
RUN apt-get update && apt-get upgrade -y && apt-get -y install build-essential curl ca-certificates devscripts dh-systemd
|
||||
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 curl -s -k $go_pkg_url -o go.tar.gz && \
|
||||
tar -C /usr/local -xzf go.tar.gz && \
|
||||
|
|
Loading…
Add table
Reference in a new issue