Skip to content

Commit 72a235f

Browse files
committed
Update Dockerfile for Poetry v2
Bump Poetry to 2.3.2 and update `poetry install` command.
1 parent c6bb461 commit 72a235f

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ FROM base AS builder
1313

1414
ENV PATH=${PATH}:${HOME}/.local/bin:/usr/local/go/bin
1515

16-
ARG POETRY_VERSION=1.8.5
16+
ARG POETRY_VERSION=2.3.2
1717
RUN apt-get update && apt-get install -y --no-install-recommends \
1818
build-essential \
1919
curl \
@@ -28,7 +28,7 @@ COPY --from=golang /usr/local/go /usr/local/go
2828
COPY pyproject.toml poetry.lock ./
2929

3030
RUN poetry config virtualenvs.create false \
31-
&& poetry install --no-dev --no-root
31+
&& poetry install --without=dev --no-root
3232

3333
COPY . ./
3434

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "syn-commodore"
3-
version = "0.0.0"
3+
version = "v0.0.0"
44
description = "Commodore provides opinionated tenant-aware management of Kapitan inventories and templates. Commodore uses Kapitan for the heavy lifting of rendering templates and resolving a hierachical configuration structure."
55
readme = "README.md"
66
authors = [

0 commit comments

Comments
 (0)