Skip to content

Commit e6d76ee

Browse files
committed
Add alpine 3.11 images
Closes #55
1 parent 8e217bd commit e6d76ee

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ env:
88
- VERSION=1.40.0 VARIANT=buster
99
- VERSION=1.40.0 VARIANT=buster/slim
1010
- VERSION=1.40.0 VARIANT=alpine3.10
11+
- VERSION=1.40.0 VARIANT=alpine3.11
1112
#VERSIONS
1213

1314
install:

1.40.0/alpine3.11/Dockerfile

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
FROM alpine:3.11
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.40.0
11+
12+
RUN set -eux; \
13+
url="https://static.rust-lang.org/rustup/archive/1.20.2/x86_64-unknown-linux-musl/rustup-init"; \
14+
wget "$url"; \
15+
echo "44d689d8cf49165f059cafe10a5ce49708a26b0b0641169bc0e39ad9c54930d5 *rustup-init" | sha256sum -c -; \
16+
chmod +x rustup-init; \
17+
./rustup-init -y --no-modify-path --profile minimal --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;

x.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727

2828
alpine_versions = [
2929
"3.10",
30+
"3.11",
3031
]
3132

3233
default_alpine_version = "3.10"

0 commit comments

Comments
 (0)