From 3d5337c4df613e9d7ded06966910f9a67026c556 Mon Sep 17 00:00:00 2001 From: Kislenko Maksim Date: Wed, 24 Jul 2019 18:19:55 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D1=88=D0=B8=D0=B1=D0=BA=D0=B8=20=D0=BA?= =?UTF-8?q?=D0=BE=D0=BC=D0=BF=D0=B8=D0=BB=D1=8F=D1=86=D0=B8=D0=B8=20=D0=B4?= =?UTF-8?q?=D0=BB=D1=8F=20Rust?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- paperio/dockers/rust/Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/paperio/dockers/rust/Dockerfile b/paperio/dockers/rust/Dockerfile index 567af64..268e024 100644 --- a/paperio/dockers/rust/Dockerfile +++ b/paperio/dockers/rust/Dockerfile @@ -1,11 +1,11 @@ -FROM stor.highloadcup.ru/aicups/paperio_base +FROM stest.tech-mail.ru/aicups/paperio_base RUN apt-get update -y && apt-get install -y build-essential curl && curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable ENV SOLUTION_CODE_PATH=/opt/client/solution \ - SOLUTION_CODE_ENTRYPOINT=src/main.rs \ - COMPILED_FILE_PATH=/opt/client/solution/target/release/solution \ - COMPILATION_COMMAND="RUSTFLAGS=-Awarnings ~/.cargo/bin/cargo build --release --bin solution --manifest-path $SOLUTION_CODE_PATH/Cargo.toml" \ - RUN_COMMAND="/lib64/ld-linux-x86-64.so.2 $MOUNT_POINT" + SOLUTION_CODE_ENTRYPOINT=src/main.rs \ + COMPILED_FILE_PATH=/opt/client/solution/target/release/solution \ + COMPILATION_COMMAND="RUSTFLAGS=-Awarnings ~/.cargo/bin/cargo build --release --bin solution --manifest-path $SOLUTION_CODE_PATH/Cargo.toml --quiet 2>&1" \ + RUN_COMMAND="/lib64/ld-linux-x86-64.so.2 $MOUNT_POINT" COPY Cargo.toml ./ RUN USER=user ~/.cargo/bin/cargo init --bin $SOLUTION_CODE_PATH &&\