mirror of https://github.com/aminya/setup-cpp
fix: install apt-utils before other packages
This commit is contained in:
parent
7f42ab35bf
commit
883005209b
|
@ -139,12 +139,13 @@ FROM debian:bullseye
|
||||||
# add setup_cpp
|
# add setup_cpp
|
||||||
WORKDIR "/"
|
WORKDIR "/"
|
||||||
RUN apt-get update -qq
|
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 wget "https://github.com/aminya/setup-cpp/releases/download/v0.2/setup_cpp_linux"
|
||||||
RUN chmod +x ./setup_cpp_linux
|
RUN chmod +x ./setup_cpp_linux
|
||||||
|
|
||||||
# install llvm, cmake, ninja, ccache, and conan
|
# 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" ]
|
ENTRYPOINT [ "/bin/bash" ]
|
||||||
```
|
```
|
||||||
|
|
|
@ -4,11 +4,12 @@ FROM debian:bullseye
|
||||||
# add setup_cpp
|
# add setup_cpp
|
||||||
WORKDIR "/"
|
WORKDIR "/"
|
||||||
RUN apt-get update -qq
|
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 wget "https://github.com/aminya/setup-cpp/releases/download/v0.2/setup_cpp_linux"
|
||||||
RUN chmod +x ./setup_cpp_linux
|
RUN chmod +x ./setup_cpp_linux
|
||||||
|
|
||||||
# install llvm, cmake, ninja, ccache, and conan
|
# 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" ]
|
ENTRYPOINT [ "/bin/bash" ]
|
||||||
|
|
Loading…
Reference in New Issue