Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recreate outdated Dockerfile #748

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 10 additions & 13 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
FROM python:2.7.10
MAINTAINER Mike Barrett

COPY scripts/docker-stacker /bin/docker-stacker
RUN mkdir -p /stacks && pip install --upgrade pip setuptools
WORKDIR /stacks
COPY . /tmp/stacker
RUN pip install --upgrade pip
RUN pip install --upgrade setuptools
RUN cd /tmp/stacker && python setup.py install && rm -rf /tmp/stacker

ENTRYPOINT ["docker-stacker"]
CMD ["-h"]
FROM python:3.7-alpine
RUN apk add --no-cache make
WORKDIR /app
COPY setup.cfg setup.py README.rst CHANGELOG.md ./
COPY stacker/ ./stacker
COPY scripts/ ./scripts
RUN python setup.py install
WORKDIR /project
ENTRYPOINT ["stacker"]
CMD ["--help"]
11 changes: 0 additions & 11 deletions scripts/docker-stacker

This file was deleted.

3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"jinja2>=2.7,<3.0",
"schematics>=2.0.1,<2.1.0",
"formic2",
"python-dateutil>=2.0,<3.0",
"python-dateutil>=2.0,<2.8",
]

setup_requires = ['pytest-runner']
Expand All @@ -32,7 +32,6 @@

scripts = [
"scripts/compare_env",
"scripts/docker-stacker",
"scripts/stacker.cmd",
"scripts/stacker",
]
Expand Down