Skip to content

Commit

Permalink
Add version and travis
Browse files Browse the repository at this point in the history
  • Loading branch information
vincetse committed Nov 11, 2016
1 parent e6cacb4 commit 8601422
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
language: python
services:
- docker
env:
matrix:
- AWSCLI_VERSION: 1.11.13
- AWSCLI_VERSION: 1.10.38
script:
- sed -i -e "s/1.10.38/${AWSCLI_VERSION}/" Dockerfile
- docker build -t vincetse/aws-cli .
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM alpine:3.3
FROM alpine:3.4
ENV AWSCLI_VERSION "1.10.38"
RUN apk -v --update add \
python \
py-pip \
groff \
less \
mailcap \
&& \
pip install --upgrade awscli s3cmd python-magic && \
pip install --upgrade awscli==${AWSCLI_VERSION} && \
apk -v --purge del py-pip && \
rm /var/cache/apk/*
VOLUME /root/.aws
VOLUME /project
WORKDIR /project
ENTRYPOINT ["aws"]

0 comments on commit 8601422

Please sign in to comment.