Skip to content

Instantly share code, notes, and snippets.

@hpk42
Created March 27, 2019 23:08
Show Gist options
  • Save hpk42/577e782213e01620a4bb9e2e4bd22c6b to your computer and use it in GitHub Desktop.
Save hpk42/577e782213e01620a4bb9e2e4bd22c6b to your computer and use it in GitHub Desktop.
Step 17/20 : RUN true && curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y
---> Running in 5f5eee542d8d
info: downloading installer
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
info: latest update on 2019-03-27, rust version 1.35.0-nightly (fbd34efb3 2019-03-26)
info: downloading component 'rustc'
info: downloading component 'rust-std'
info: downloading component 'cargo'
info: downloading component 'rust-docs'
info: installing component 'rustc'
info: installing component 'rust-std'
info: installing component 'cargo'
info: installing component 'rust-docs'
info: default toolchain set to 'nightly'
nightly installed - rustc 1.35.0-nightly (fbd34efb3 2019-03-26)
Rust is installed now. Great!
To get started you need Cargo's bin directory ($HOME/.cargo/bin) in your PATH
environment variable. Next time you log in this will be done automatically.
To configure your current shell run source $HOME/.cargo/env
Removing intermediate container 5f5eee542d8d
---> 073d309d2635
Step 18/20 : ENV PATH=/root/.cargo/bin:$PATH
---> Running in 81bd0a8c99a8
Removing intermediate container 81bd0a8c99a8
---> f0a5bcf1e107
Step 19/20 : RUN rustc --version
---> Running in 36fbe093d5c0
rustc 1.35.0-nightly (fbd34efb3 2019-03-26)
Removing intermediate container 36fbe093d5c0
---> 53fd0b60fabb
Step 20/20 : RUN true && git clone --depth 1 https://github.com/dignifiedquire/rpgp.git && cd rpgp/pgp-ffi && make install && cd ../.. && rm -r rpgp
---> Running in c4c6ff930fd5
Cloning into 'rpgp'...
cd /rpgp/pgp-ffi/../ && RUSTFLAGS="-C codegen-units=1" cargo build --release --features nightly -p pgp_ffi
info: syncing channel updates for 'nightly-2019-03-23-x86_64-unknown-linux-gnu'
info: latest update on 2019-03-23, rust version 1.35.0-nightly (cb2f34dc6 2019-03-22)
info: downloading component 'rustc'
info: downloading component 'rust-std'
info: downloading component 'cargo'
info: downloading component 'rust-docs'
info: installing component 'rustc'
info: installing component 'rust-std'
info: installing component 'cargo'
info: installing component 'rust-docs'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment