diff --git a/Dockerfile.release b/Dockerfile.release index 67e2326..42cf94b 100644 --- a/Dockerfile.release +++ b/Dockerfile.release @@ -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 \ No newline at end of file +RUN pip install formica-cli + +ENTRYPOINT ["formica"] \ No newline at end of file diff --git a/Makefile b/Makefile index 8b49bc1..304ed38 100644 --- a/Makefile +++ b/Makefile @@ -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 .