From 883005209b4d8152fbe555f0142396753c52214f Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Sat, 18 Sep 2021 12:40:45 -0500 Subject: [PATCH] fix: install apt-utils before other packages --- README.md | 5 +++-- building/docker/debian.dockerfile | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 00c37f42..15a771fd 100644 --- a/README.md +++ b/README.md @@ -139,12 +139,13 @@ FROM debian:bullseye # add setup_cpp WORKDIR "/" RUN apt-get update -qq -RUN apt-get install -y --no-install-recommends ca-certificates apt-utils wget +RUN apt-get install -y --no-install-recommends apt-utils +RUN apt-get install -y --no-install-recommends ca-certificates wget RUN wget "https://github.com/aminya/setup-cpp/releases/download/v0.2/setup_cpp_linux" RUN chmod +x ./setup_cpp_linux # install llvm, cmake, ninja, ccache, and conan -RUN ./setup_cpp --compiler llvm --cmake true --ninja true --ccache true --conan true +RUN ./setup_cpp_linux --compiler llvm --cmake true --ninja true --ccache true --conan true ENTRYPOINT [ "/bin/bash" ] ``` diff --git a/building/docker/debian.dockerfile b/building/docker/debian.dockerfile index 90a0ca74..6b2fffe3 100644 --- a/building/docker/debian.dockerfile +++ b/building/docker/debian.dockerfile @@ -4,11 +4,12 @@ FROM debian:bullseye # add setup_cpp WORKDIR "/" RUN apt-get update -qq -RUN apt-get install -y --no-install-recommends ca-certificates apt-utils wget +RUN apt-get install -y --no-install-recommends apt-utils +RUN apt-get install -y --no-install-recommends ca-certificates wget RUN wget "https://github.com/aminya/setup-cpp/releases/download/v0.2/setup_cpp_linux" RUN chmod +x ./setup_cpp_linux # install llvm, cmake, ninja, ccache, and conan -RUN ./setup_cpp --compiler llvm --cmake true --ninja true --ccache true --conan true +RUN ./setup_cpp_linux --compiler llvm --cmake true --ninja true --ccache true --conan true ENTRYPOINT [ "/bin/bash" ]