File tree 8 files changed +254
-236
lines changed
8 files changed +254
-236
lines changed Original file line number Diff line number Diff line change
1
+ __pycache__
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2,10 +2,13 @@ language: bash
2
2
services : docker
3
3
4
4
env :
5
- - VERSION=1.37.0 VARIANT=buster/slim
6
- - VERSION=1.37.0 VARIANT=buster
7
- - VERSION=1.37.0 VARIANT=stretch/slim
5
+ # VERSIONS
8
6
- VERSION=1.37.0 VARIANT=stretch
7
+ - VERSION=1.37.0 VARIANT=stretch/slim
8
+ - VERSION=1.37.0 VARIANT=buster
9
+ - VERSION=1.37.0 VARIANT=buster/slim
10
+ - VERSION=1.37.0 VARIANT=alpine3.10
11
+ # VERSIONS
9
12
10
13
install :
11
14
- git clone https://github.com/docker-library/official-images.git ~/official-images
Original file line number Diff line number Diff line change
1
+ FROM alpine:3.10
2
+
3
+ RUN apk add --no-cache \
4
+ ca-certificates \
5
+ gcc
6
+
7
+ ENV RUSTUP_HOME=/usr/local/rustup \
8
+ CARGO_HOME=/usr/local/cargo \
9
+ PATH=/usr/local/cargo/bin:$PATH \
10
+ RUST_VERSION=1.37.0
11
+
12
+ RUN set -eux; \
13
+ url="https://static.rust-lang.org/rustup/archive/1.19.0/x86_64-unknown-linux-musl/rustup-init" ; \
14
+ wget "$url" ; \
15
+ echo "b535be813cd89000044764806f569a8c1428417d4226f16ee9993867f0c4ea4e *rustup-init" | sha256sum -c -; \
16
+ chmod +x rustup-init; \
17
+ ./rustup-init -y --no-modify-path --default-toolchain $RUST_VERSION; \
18
+ rm rustup-init; \
19
+ chmod -R a+w $RUSTUP_HOME $CARGO_HOME; \
20
+ rustup --version; \
21
+ cargo --version; \
22
+ rustc --version;
Original file line number Diff line number Diff line change
1
+ FROM alpine:%%TAG%%
2
+
3
+ RUN apk add --no-cache \
4
+ ca-certificates \
5
+ gcc
6
+
7
+ ENV RUSTUP_HOME=/usr/local/rustup \
8
+ CARGO_HOME=/usr/local/cargo \
9
+ PATH=/usr/local/cargo/bin:$PATH \
10
+ RUST_VERSION=%%RUST-VERSION%%
11
+
12
+ RUN set -eux; \
13
+ url="https://static.rust-lang.org/rustup/archive/%%RUSTUP-VERSION%%/x86_64-unknown-linux-musl/rustup-init"; \
14
+ wget "$url"; \
15
+ echo "%%RUSTUP-SHA256%% *rustup-init" | sha256sum -c -; \
16
+ chmod +x rustup-init; \
17
+ ./rustup-init -y --no-modify-path --default-toolchain $RUST_VERSION; \
18
+ rm rustup-init; \
19
+ chmod -R a+w $RUSTUP_HOME $CARGO_HOME; \
20
+ rustup --version; \
21
+ cargo --version; \
22
+ rustc --version;
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments