fix(docker): use bash as a shell

also uses directly the root home folder
This commit is contained in:
Ayoub Benaissa
2022-11-02 19:16:44 +01:00
committed by GitHub
parent 5269250908
commit f128982756

View File

@@ -10,7 +10,8 @@ RUN ccache -M 0
RUN ccache -F 0
# Install Rust
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
ENV PATH=/$HOME/.cargo/bin:$PATH
ENV PATH=/root/.cargo/bin:$PATH
SHELL ["/bin/bash", "-c"]
# Install boost
ADD https://boostorg.jfrog.io/artifactory/main/release/1.71.0/source/boost_1_71_0.tar.gz /boost_1_71_0.tar.gz
RUN tar -xzvf /boost_1_71_0.tar.gz