Skip to content

Commit 6a7bef3

Browse files
committed
added parametrization
1 parent 17066db commit 6a7bef3

File tree

21 files changed

+42
-21
lines changed

21 files changed

+42
-21
lines changed

packages/postgres-database/docker/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ RUN apt-get update \
2323
&& rm -rf /var/lib/apt/lists/*
2424

2525
# install UV https://docs.astral.sh/uv/guides/integration/docker/#installing-uv
26-
COPY --from=ghcr.io/astral-sh/uv:0.4.24 /uv /uvx /bin/
26+
ARG UV_VERSION="0.4.24"
27+
COPY --from=ghcr.io/astral-sh/uv:${UV_VERSION} /uv /uvx /bin/
2728

2829
# NOTE: python virtualenv is used here such that installed packages may be moved to production image easily by copying the venv
2930
RUN uv venv "${VIRTUAL_ENV}"

packages/service-integration/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ RUN --mount=type=cache,target=/var/cache/apt,mode=0755,sharing=private \
5656
build-essential
5757

5858
# install UV https://docs.astral.sh/uv/guides/integration/docker/#installing-uv
59-
COPY --from=ghcr.io/astral-sh/uv:0.4.24 /uv /uvx /bin/
59+
ARG UV_VERSION="0.4.24"
60+
COPY --from=ghcr.io/astral-sh/uv:${UV_VERSION} /uv /uvx /bin/
6061

6162
# NOTE: python virtualenv is used here such that installed
6263
# packages may be moved to production image easily by copying the venv

requirements/tools/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ RUN --mount=type=cache,target=/var/cache/apt,mode=0755,sharing=private \
2525

2626

2727
# install UV https://docs.astral.sh/uv/guides/integration/docker/#installing-uv
28-
COPY --from=ghcr.io/astral-sh/uv:0.4.24 /uv /uvx /bin/
28+
ARG UV_VERSION="0.4.24"
29+
COPY --from=ghcr.io/astral-sh/uv:${UV_VERSION} /uv /uvx /bin/
2930

3031
RUN uv venv "${VIRTUAL_ENV}"
3132

services/agent/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ RUN --mount=type=cache,target=/var/cache/apt,mode=0755,sharing=private \
7474
build-essential
7575

7676
# install UV https://docs.astral.sh/uv/guides/integration/docker/#installing-uv
77-
COPY --from=ghcr.io/astral-sh/uv:0.4.24 /uv /uvx /bin/
77+
ARG UV_VERSION="0.4.24"
78+
COPY --from=ghcr.io/astral-sh/uv:${UV_VERSION} /uv /uvx /bin/
7879

7980
# NOTE: python virtualenv is used here such that installed
8081
# packages may be moved to production image easily by copying the venv

services/api-server/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ RUN --mount=type=cache,target=/var/cache/apt,mode=0755,sharing=private \
7070
build-essential
7171

7272
# install UV https://docs.astral.sh/uv/guides/integration/docker/#installing-uv
73-
COPY --from=ghcr.io/astral-sh/uv:0.4.24 /uv /uvx /bin/
73+
ARG UV_VERSION="0.4.24"
74+
COPY --from=ghcr.io/astral-sh/uv:${UV_VERSION} /uv /uvx /bin/
7475

7576
# NOTE: python virtualenv is used here such that installed
7677
# packages may be moved to production image easily by copying the venv

services/autoscaling/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ RUN --mount=type=cache,target=/var/cache/apt,mode=0755,sharing=private \
9090
build-essential
9191

9292
# install UV https://docs.astral.sh/uv/guides/integration/docker/#installing-uv
93-
COPY --from=ghcr.io/astral-sh/uv:0.4.24 /uv /uvx /bin/
93+
ARG UV_VERSION="0.4.24"
94+
COPY --from=ghcr.io/astral-sh/uv:${UV_VERSION} /uv /uvx /bin/
9495

9596

9697
# NOTE: python virtualenv is used here such that installed

services/catalog/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ RUN --mount=type=cache,target=/var/cache/apt,mode=0755,sharing=private \
7171
build-essential
7272

7373
# install UV https://docs.astral.sh/uv/guides/integration/docker/#installing-uv
74-
COPY --from=ghcr.io/astral-sh/uv:0.4.24 /uv /uvx /bin/
74+
ARG UV_VERSION="0.4.24"
75+
COPY --from=ghcr.io/astral-sh/uv:${UV_VERSION} /uv /uvx /bin/
7576

7677
# NOTE: python virtualenv is used here such that installed
7778
# packages may be moved to production image easily by copying the venv

services/clusters-keeper/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ RUN --mount=type=cache,target=/var/cache/apt,mode=0755,sharing=private \
9090
build-essential
9191

9292
# install UV https://docs.astral.sh/uv/guides/integration/docker/#installing-uv
93-
COPY --from=ghcr.io/astral-sh/uv:0.4.24 /uv /uvx /bin/
93+
ARG UV_VERSION="0.4.24"
94+
COPY --from=ghcr.io/astral-sh/uv:${UV_VERSION} /uv /uvx /bin/
9495

9596
# NOTE: python virtualenv is used here such that installed
9697
# packages may be moved to production image easily by copying the venv

services/dask-sidecar/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ RUN --mount=type=cache,target=/var/cache/apt,mode=0755,sharing=private \
8181
build-essential
8282

8383
# install UV https://docs.astral.sh/uv/guides/integration/docker/#installing-uv
84-
COPY --from=ghcr.io/astral-sh/uv:0.4.24 /uv /uvx /bin/
84+
ARG UV_VERSION="0.4.24"
85+
COPY --from=ghcr.io/astral-sh/uv:${UV_VERSION} /uv /uvx /bin/
8586

8687
# NOTE: python virtualenv is used here such that installed packages may be moved to production image easily by copying the venv
8788
RUN uv venv "${VIRTUAL_ENV}"

services/datcore-adapter/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ RUN --mount=type=cache,target=/var/cache/apt,mode=0755,sharing=private \
7171
build-essential
7272

7373
# install UV https://docs.astral.sh/uv/guides/integration/docker/#installing-uv
74-
COPY --from=ghcr.io/astral-sh/uv:0.4.24 /uv /uvx /bin/
74+
ARG UV_VERSION="0.4.24"
75+
COPY --from=ghcr.io/astral-sh/uv:${UV_VERSION} /uv /uvx /bin/
7576

7677
# NOTE: python virtualenv is used here such that installed
7778
# packages may be moved to production image easily by copying the venv

0 commit comments

Comments
 (0)