-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update CPU build to Ubuntu 20.04 (#1009)
- Loading branch information
Showing
4 changed files
with
26 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM ubuntu:focal | ||
RUN apt update && apt install -y --no-install-recommends \ | ||
apt-transport-https ca-certificates \ | ||
gnupg software-properties-common curl && apt clean | ||
# Add CMake repo | ||
RUN curl -L https://apt.kitware.com/keys/kitware-archive-latest.asc | apt-key add - | ||
RUN apt-add-repository 'deb https://apt.kitware.com/ubuntu/ focal main' | ||
RUN apt-add-repository 'deb https://apt.kitware.com/ubuntu/ focal-rc main' | ||
RUN apt-get install kitware-archive-keyring && apt clean | ||
RUN apt update && apt install -y --no-install-recommends \ | ||
build-essential ninja-build cmake git openssh-client curl \ | ||
llvm-9-dev libclang-9-dev libclang-cpp9 \ | ||
python3 python3-pip libpython3-dev \ | ||
python3-setuptools python3-wheel \ | ||
libboost-dev && apt clean | ||
RUN python3 -m pip install --upgrade pip | ||
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters