Use corrosion instead of CMakeRust (#3273)
* Use corrosion instead of CMakeRust * use OpenSUSE tumbleweed (latest) to get newer CMake
This commit is contained in:
committed by
GitHub
parent
8dd29e0a8a
commit
18a8bd2997
@@ -1,4 +1,7 @@
|
||||
FROM opensuse/leap:15
|
||||
FROM opensuse/tumbleweed
|
||||
|
||||
# NOTE: this isn't opensuse15 anymore, but this allows PRs to be merged by
|
||||
# matching the GitHub configuration.
|
||||
|
||||
RUN zypper install -y python3 awk coreutils git gcc gcc-c++ cmake make libuuid-devel libfaketime curl
|
||||
|
||||
|
||||
@@ -1,7 +1,14 @@
|
||||
FROM ubuntu:20.04
|
||||
|
||||
RUN apt-get update
|
||||
RUN DEBIAN_FRONTEND="noninteractive" apt-get install -y build-essential cmake git uuid-dev faketime locales python3 curl
|
||||
RUN apt-get update && \
|
||||
DEBIAN_FRONTEND="noninteractive" apt-get install -y gpg wget curl
|
||||
|
||||
# add Kitware's CMake apt repo
|
||||
RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - > /usr/share/keyrings/kitware-archive-keyring.gpg && \
|
||||
echo 'deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ focal main' > /etc/apt/sources.list.d/kitware.list
|
||||
|
||||
RUN apt-get update && \
|
||||
DEBIAN_FRONTEND="noninteractive" apt-get install -y build-essential git uuid-dev faketime locales python3 cmake
|
||||
|
||||
# Setup language environment
|
||||
RUN locale-gen en_US.UTF-8
|
||||
|
||||
Reference in New Issue
Block a user