mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Add gcc-9 to build images
This commit is contained in:
parent
ee84b8f8bb
commit
ec22af6da0
@ -1,7 +1,18 @@
|
|||||||
FROM ubuntu:18.04
|
FROM ubuntu:18.04
|
||||||
|
|
||||||
|
RUN apt-get --allow-unauthenticated update -y \
|
||||||
|
&& env DEBIAN_FRONTEND=noninteractive \
|
||||||
|
apt-get --allow-unauthenticated install --yes --no-install-recommends \
|
||||||
|
bash \
|
||||||
|
fakeroot \
|
||||||
|
cmake \
|
||||||
|
ccache \
|
||||||
|
curl \
|
||||||
|
software-properties-common
|
||||||
|
|
||||||
RUN echo "deb [trusted=yes] http://apt.llvm.org/bionic/ llvm-toolchain-bionic-7 main" >> /etc/apt/sources.list
|
RUN echo "deb [trusted=yes] http://apt.llvm.org/bionic/ llvm-toolchain-bionic-7 main" >> /etc/apt/sources.list
|
||||||
RUN echo "deb [trusted=yes] http://apt.llvm.org/bionic/ llvm-toolchain-bionic-8 main" >> /etc/apt/sources.list
|
RUN echo "deb [trusted=yes] http://apt.llvm.org/bionic/ llvm-toolchain-bionic-8 main" >> /etc/apt/sources.list
|
||||||
|
RUN add-apt-repository -y ppa:jonathonf/gcc-9.0
|
||||||
|
|
||||||
RUN apt-get update -y \
|
RUN apt-get update -y \
|
||||||
&& env DEBIAN_FRONTEND=noninteractive \
|
&& env DEBIAN_FRONTEND=noninteractive \
|
||||||
@ -14,6 +25,8 @@ RUN apt-get update -y \
|
|||||||
g++-7 \
|
g++-7 \
|
||||||
gcc-8 \
|
gcc-8 \
|
||||||
g++-8 \
|
g++-8 \
|
||||||
|
gcc-9 \
|
||||||
|
g++-9 \
|
||||||
clang-6.0 \
|
clang-6.0 \
|
||||||
lld-6.0 \
|
lld-6.0 \
|
||||||
libclang-6.0-dev \
|
libclang-6.0-dev \
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
FROM ubuntu:18.04
|
FROM ubuntu:18.04
|
||||||
|
|
||||||
RUN echo "deb [trusted=yes] http://apt.llvm.org/bionic/ llvm-toolchain-bionic-7 main" >> /etc/apt/sources.list
|
|
||||||
RUN echo "deb [trusted=yes] http://apt.llvm.org/bionic/ llvm-toolchain-bionic-8 main" >> /etc/apt/sources.list
|
|
||||||
|
|
||||||
RUN apt-get --allow-unauthenticated update -y \
|
RUN apt-get --allow-unauthenticated update -y \
|
||||||
&& env DEBIAN_FRONTEND=noninteractive \
|
&& env DEBIAN_FRONTEND=noninteractive \
|
||||||
apt-get --allow-unauthenticated install --yes --no-install-recommends \
|
apt-get --allow-unauthenticated install --yes --no-install-recommends \
|
||||||
@ -11,10 +8,21 @@ RUN apt-get --allow-unauthenticated update -y \
|
|||||||
cmake \
|
cmake \
|
||||||
ccache \
|
ccache \
|
||||||
curl \
|
curl \
|
||||||
|
software-properties-common
|
||||||
|
|
||||||
|
RUN echo "deb [trusted=yes] http://apt.llvm.org/bionic/ llvm-toolchain-bionic-7 main" >> /etc/apt/sources.list
|
||||||
|
RUN echo "deb [trusted=yes] http://apt.llvm.org/bionic/ llvm-toolchain-bionic-8 main" >> /etc/apt/sources.list
|
||||||
|
RUN add-apt-repository -y ppa:jonathonf/gcc-9.0
|
||||||
|
|
||||||
|
RUN apt-get --allow-unauthenticated update -y \
|
||||||
|
&& env DEBIAN_FRONTEND=noninteractive \
|
||||||
|
apt-get --allow-unauthenticated install --yes --no-install-recommends \
|
||||||
gcc-7 \
|
gcc-7 \
|
||||||
g++-7 \
|
g++-7 \
|
||||||
gcc-8 \
|
gcc-8 \
|
||||||
g++-8 \
|
g++-8 \
|
||||||
|
gcc-9 \
|
||||||
|
g++-9 \
|
||||||
clang-6.0 \
|
clang-6.0 \
|
||||||
lld-6.0 \
|
lld-6.0 \
|
||||||
libclang-6.0-dev \
|
libclang-6.0-dev \
|
||||||
|
Loading…
Reference in New Issue
Block a user