Skip to content

Commit

Permalink
Introduce a 'test' dockerfile (#255)
Browse files Browse the repository at this point in the history
This will be the base of test work for cernan. The intention is that
the CI system will use this for running tests, doing auto-formatting
etc. We're a little in the hole here as alpine only provides stable
rust but oh well.

Signed-off-by: Brian L. Troutwine <[email protected]>
  • Loading branch information
blt authored Apr 24, 2017
1 parent 282251f commit ddb78dd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
13 changes: 13 additions & 0 deletions docker/test/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM alpine:edge

RUN echo '@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories

RUN apk add --no-cache --update \
alpine-sdk \
perl \
openssl-dev \
cargo@testing \
rust@testing

ENV PATH=/root/.cargo/bin:$PATH
RUN cargo install rustfmt

0 comments on commit ddb78dd

Please sign in to comment.