Commit f60067a9 authored by Artem Baranovskyi's avatar Artem Baranovskyi
Browse files

Image build is optimized.

parent 62fc8d34
Pipeline #10755 failed with stages
in 3 minutes and 20 seconds
Showing with 2 additions and 4 deletions
+2 -4
...@@ -3,11 +3,9 @@ FROM pytorch/pytorch:1.10.0-cuda11.3-cudnn8-runtime as build ...@@ -3,11 +3,9 @@ FROM pytorch/pytorch:1.10.0-cuda11.3-cudnn8-runtime as build
RUN apt-get update && apt-get install -y curl RUN apt-get update && apt-get install -y curl
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o /usr/local/bin/rustup-init.sh RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o /usr/local/bin/rustup-init.sh
RUN chmod +x /usr/local/bin/rustup-init.sh RUN chmod +x /usr/local/bin/rustup-init.sh
RUN /usr/local/bin/rustup-init.sh -y --default-toolchain none
RUN /usr/local/bin/rustup toolchain install stable --profile minimal --no-self-update
RUN /usr/local/bin/rustup --version RUN /root/.cargo/bin/rustup --version
RUN /usr/local/bin/cargo --version RUN /root/.cargo/bin/cargo --version
RUN apt-get update && apt-get install -y --no-install-recommends \ RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential python3-venv && \ build-essential python3-venv && \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment