Skip to content

Commit

Permalink
Set default dockerfile to python3
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodrigue committed May 22, 2018
1 parent 99e9d32 commit 63aaf4a
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
17 changes: 11 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
FROM python:2.7
FROM python:3.6

WORKDIR /aws-amicleaner

ADD . .
RUN apt-get update && apt-get install -y \
vim \
awscli \
twine \
jq

RUN pip install -r requirements.txt
ENV PATH="${PATH}:/root/.local/bin/"

CMD amicleaner/cli.py -h
WORKDIR /aws-amicleaner
ADD . .
RUN python setup.py install
CMD bash
9 changes: 9 additions & 0 deletions Dockerfile-python2
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM python:2.7

WORKDIR /aws-amicleaner

ADD . .

RUN pip install -r requirements.txt

CMD amicleaner/cli.py -h
14 changes: 0 additions & 14 deletions Dockerfile-python3

This file was deleted.

0 comments on commit 63aaf4a

Please sign in to comment.