Skip to content
This repository has been archived by the owner on Jun 23, 2020. It is now read-only.

Commit

Permalink
Try updating apt-get to install git (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
brettcannon authored Mar 30, 2020
1 parent 7fb82aa commit 861d164
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,16 @@ ENV PYTHONDONTWRITEBYTECODE 1
# Turns off buffering for easier container logging
ENV PYTHONUNBUFFERED 1

RUN apt install git
RUN apt-get -qy update && apt-get -qy install git && \
rm -rf /var/cache/apt/* /var/lib/apt/lists/*

WORKDIR /app

COPY pyproject.toml .
COPY poetry.lock .
RUN python -m pip install poetry
RUN python -m pip install --quiet poetry
RUN poetry config virtualenvs.create false
RUN poetry install --no-interaction --no-ansi --no-dev
RUN poetry install --quiet --no-interaction --no-ansi --no-dev

ADD release_often .

Expand Down

0 comments on commit 861d164

Please sign in to comment.