diff --git a/.docker/Dockerfile b/.docker/Dockerfile index 57683d5a17..53ecc2da1e 100644 --- a/.docker/Dockerfile +++ b/.docker/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/debian:buster-slim +FROM docker.io/debian:10 MAINTAINER Onur Özkan @@ -10,6 +10,7 @@ RUN apt-get install -y \ ca-certificates \ curl \ wget \ + unzip \ gnupg RUN ln -s /usr/bin/python3 /bin/python @@ -26,11 +27,11 @@ RUN ./llvm.sh 16 RUN rm ./llvm.sh -RUN ln -s /usr/bin/clang-16 /usr/bin/clang - ENV AR=/usr/bin/llvm-ar-16 ENV CC=/usr/bin/clang-16 +RUN ln -s /usr/bin/clang-16 /usr/bin/clang + RUN mkdir -m 0755 -p /etc/apt/keyrings RUN curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg @@ -47,6 +48,9 @@ RUN apt-get install -y \ containerd.io \ docker-buildx-plugin -RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --profile minimal --default-toolchain nightly-2022-10-29 -y + +RUN wget https://github.com/protocolbuffers/protobuf/releases/download/v3.20.1/protoc-3.20.1-linux-x86_64.zip +RUN unzip protoc-3.20.1-linux-x86_64.zip && mv ./include/google /usr/include/google ENV PATH="/root/.cargo/bin:$PATH"