Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove RUSTFLAGS, as it's controlled by cargo-near binary #3

Merged
merged 1 commit into from
Nov 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ USER near
ARG RUST_VERSION=1.79.0
ENV HOME=/home/near \
RUSTUP_TOOLCHAIN=$RUST_VERSION \
RUSTFLAGS='-C link-arg=-s' \
CARGO_HOME=/home/near/.cargo \
RUSTUP_HOME=/home/near/.rustup

Expand All @@ -33,4 +32,4 @@ ARG CARGO_NEAR_VERSION=0.6.3
# Continuation of the Rust setup: adding the wasm target for WebAssembly development and installing cargo-near for NEAR protocol development, followed by setting appropriate permissions for the builder's home directory
RUN rustup target add wasm32-unknown-unknown \
&& curl --proto '=https' --tlsv1.2 -LsSf https://github.com/near/cargo-near/releases/download/cargo-near-v$CARGO_NEAR_VERSION/cargo-near-installer.sh | sh \
&& chmod -R a+rwx $HOME
&& chmod -R a+rwx $HOME