Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit 5f7e216

Browse files
authored
Merge pull request #20 from fluencelabs/master
Fix #19: add alpine image
2 parents 1ad61aa + c38dd8e commit 5f7e216

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

alpine/Dockerfile

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
FROM alpine:3.10
2+
3+
ENV RUSTUP_HOME=/usr/local/rustup \
4+
CARGO_HOME=/usr/local/cargo \
5+
PATH=/usr/local/cargo/bin:$PATH
6+
7+
RUN set -eux; \
8+
apk add --no-cache \
9+
ca-certificates \
10+
gcc; \
11+
\
12+
url="https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-musl/rustup-init"; \
13+
wget "$url"; \
14+
chmod +x rustup-init; \
15+
./rustup-init -y --no-modify-path --default-toolchain nightly; \
16+
rm rustup-init; \
17+
chmod -R a+w $RUSTUP_HOME $CARGO_HOME; \
18+
rustup --version; \
19+
cargo --version; \
20+
rustc --version;

0 commit comments

Comments
 (0)