Skip to content

Commit 8601422

Browse files
committed
Add version and travis
1 parent e6cacb4 commit 8601422

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.travis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
language: python
2+
services:
3+
- docker
4+
env:
5+
matrix:
6+
- AWSCLI_VERSION: 1.11.13
7+
- AWSCLI_VERSION: 1.10.38
8+
script:
9+
- sed -i -e "s/1.10.38/${AWSCLI_VERSION}/" Dockerfile
10+
- docker build -t vincetse/aws-cli .

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
FROM alpine:3.3
1+
FROM alpine:3.4
2+
ENV AWSCLI_VERSION "1.10.38"
23
RUN apk -v --update add \
34
python \
45
py-pip \
56
groff \
67
less \
78
mailcap \
89
&& \
9-
pip install --upgrade awscli s3cmd python-magic && \
10+
pip install --upgrade awscli==${AWSCLI_VERSION} && \
1011
apk -v --purge del py-pip && \
1112
rm /var/cache/apk/*
1213
VOLUME /root/.aws
1314
VOLUME /project
1415
WORKDIR /project
15-
ENTRYPOINT ["aws"]

0 commit comments

Comments
 (0)