Skip to content

Commit

Permalink
Chore(deps): updates
Browse files Browse the repository at this point in the history
- update poetry to 1.7.0
- update docker image to 3.11 (buster > bookworm)
- install git
  • Loading branch information
till committed Feb 21, 2024
1 parent 4e5e8c3 commit b2abf3c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM python:3.11.4-slim-buster
FROM python:3.11-slim

LABEL org.opencontainers.image.description "Docker (base) image with Python 3.x with poetry"

ARG POETRY_VERSION=1.2.0
ARG POETRY_VERSION=1.7.0
ARG POETRY_HOME=/opt/poetry

# making this explicit
Expand All @@ -15,11 +15,13 @@ RUN apt update -y \
--no-install-recommends -y \
build-essential \
jq \
git \
&& POETRY_VERSION=${POETRY_VERSION} python3 /tmp/install-poetry \
&& rm /tmp/install-poetry \
&& ln -s ${POETRY_HOME}/bin/poetry /usr/local/bin/poetry \
&& mkdir -p /workspace

ENV PATH="$POETRY_HOME/bin:$PATH"
WORKDIR /workspace

ENTRYPOINT ["/usr/local/bin/poetry"]

ENTRYPOINT ["poetry"]

0 comments on commit b2abf3c

Please sign in to comment.