diff --git a/.dockerignore b/.dockerignore index dd58b546f..e865989df 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,6 +1,5 @@ ./examples **/target -**/.git *.md Dockerfile ./tests diff --git a/Dockerfile b/Dockerfile index 0d603ec0d..e7e73af39 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,7 +35,7 @@ COPY --from=proj-builder /tmp/proj-build / WORKDIR /usr/src/app COPY . ./ # install rustup -RUN apt install --yes curl +RUN apt install --yes curl git RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y ENV PATH "/root/.cargo/bin:$PATH" # build the project