diff --git a/.travis.yml b/.travis.yml index bf70e3a..d69bf14 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,3 +5,4 @@ language: generic script: - docker build -t rust-alpine . - docker run --rm rust-alpine sh -c "echo 'fn main() {}' > a.rs && rustc a.rs && ./a" + - docker run --rm -e "USER=test" rust-alpine sh -c "cargo new --bin b && cd b && cargo run" diff --git a/Dockerfile b/Dockerfile index 95f3c01..3e2d5a9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,9 @@ -FROM alpine:3.4 +FROM alpine:edge RUN echo '@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories RUN apk add --no-cache \ + cargo@testing \ curl \ g++ \ rust@testing