-
Notifications
You must be signed in to change notification settings - Fork 167
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Update to Python 3 - Simpler installation, remove docker-stacker script - Add apk 'make' package. Useful for CI/CD builds
- Loading branch information
Steven Ringo
committed
Nov 22, 2019
1 parent
8489dbb
commit 194ab29
Showing
3 changed files
with
10 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters