Skip to content

Commit

Permalink
Build release container without caching
Browse files Browse the repository at this point in the history
  • Loading branch information
flomotlik committed Sep 17, 2017
1 parent a7804a0 commit 107b013
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions Dockerfile.release
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ FROM python:alpine
LABEL io.whalebrew.name 'formica'
LABEL io.whalebrew.config.environment '["AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN", "AWS_DEFAULT_REGION", "AWS_DEFAULT_PROFILE", "AWS_CONFIG_FILE"]'
LABEL io.whalebrew.config.volumes '["~/.aws:/.aws"]'
ENTRYPOINT ["formica"]

RUN pip install formica-cli
RUN pip install formica-cli

ENTRYPOINT ["formica"]
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ release-test-pypi: build
twine upload dist/* --repository-url https://testpypi.python.org/pypi -r https://testpypi.python.org/pypi

release-docker:
docker build -t flomotlik/formica:latest -f Dockerfile.release .
docker push flomotlik/formica:latest
docker build --no-cache -t flomotlik/formica -f Dockerfile.release .
docker push flomotlik/formica

whalebrew:
docker build -t flomotlik/formica:whalebrew -f Dockerfile.whalebrew .
Expand Down

0 comments on commit 107b013

Please sign in to comment.