Skip to content

Commit 3d5337c

Browse files
author
Kislenko Maksim
committed
Ошибки компиляции для Rust
1 parent fbaf3cc commit 3d5337c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

paperio/dockers/rust/Dockerfile

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM stor.highloadcup.ru/aicups/paperio_base
1+
FROM stest.tech-mail.ru/aicups/paperio_base
22

33
RUN apt-get update -y && apt-get install -y build-essential curl && curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable
44
ENV SOLUTION_CODE_PATH=/opt/client/solution \
5-
SOLUTION_CODE_ENTRYPOINT=src/main.rs \
6-
COMPILED_FILE_PATH=/opt/client/solution/target/release/solution \
7-
COMPILATION_COMMAND="RUSTFLAGS=-Awarnings ~/.cargo/bin/cargo build --release --bin solution --manifest-path $SOLUTION_CODE_PATH/Cargo.toml" \
8-
RUN_COMMAND="/lib64/ld-linux-x86-64.so.2 $MOUNT_POINT"
5+
SOLUTION_CODE_ENTRYPOINT=src/main.rs \
6+
COMPILED_FILE_PATH=/opt/client/solution/target/release/solution \
7+
COMPILATION_COMMAND="RUSTFLAGS=-Awarnings ~/.cargo/bin/cargo build --release --bin solution --manifest-path $SOLUTION_CODE_PATH/Cargo.toml --quiet 2>&1" \
8+
RUN_COMMAND="/lib64/ld-linux-x86-64.so.2 $MOUNT_POINT"
99

1010
COPY Cargo.toml ./
1111
RUN USER=user ~/.cargo/bin/cargo init --bin $SOLUTION_CODE_PATH &&\

0 commit comments

Comments
 (0)