Skip to content
Snippets Groups Projects
Commit d66ec7eb authored by nimrod's avatar nimrod
Browse files

Added goose for migrations.

parent f3fafae1
Branches
No related tags found
No related merge requests found
FROM adarnimrod/goose as goose
FROM python:3.6-slim-stretch FROM python:3.6-slim-stretch
RUN apt-get update && \ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
...@@ -10,3 +12,4 @@ RUN apt-get update && \ ...@@ -10,3 +12,4 @@ RUN apt-get update && \
&& \ && \
pip install --no-cache-dir --update pip tox pipenv | cat && \ pip install --no-cache-dir --update pip tox pipenv | cat && \
rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/* /var/cache/apt/archives/* /root/.cache/* rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/* /var/cache/apt/archives/* /root/.cache/*
COPY --from=goose /usr/local/bin/goose /usr/local/bin/goose
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment