Skip to content

Commit

Permalink
install pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stevegerrits committed Feb 27, 2024
1 parent 5fc5b07 commit 4c62ad3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax=docker/dockerfile:1
# syntax=docker/dockerfile:1
ARG PYTHON_VERSION=3.11.6
FROM python:$PYTHON_VERSION-slim AS base

Expand All @@ -9,9 +8,9 @@ ENV PYTHONFAULTHANDLER=1 \
PYTHONUNBUFFERED=1 \
POETRY_VERSION=1.7.1

# Install Poetry and Poe the Poet
# Install Poetry, Poe the Poet, and pre-commit
RUN --mount=type=cache,target=/root/.cache/pip/ \
pip install poetry==$POETRY_VERSION poethepoet
pip install poetry==$POETRY_VERSION poethepoet pre-commit

# Install curl, compilers, and GDAL dependencies.
RUN rm /etc/apt/apt.conf.d/docker-clean
Expand Down

0 comments on commit 4c62ad3

Please sign in to comment.