Skip to content

Commit 0332a81

Browse files
committed
Try install instead of copy
1 parent 789a493 commit 0332a81

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

docker/tools/Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ LABEL org.opencontainers.image.description="Builder image for building the 3dbag
1010
LABEL org.opencontainers.image.version=$VERSION
1111
LABEL org.opencontainers.image.licenses="(MIT OR Apache-2.0)"
1212

13-
RUN groupadd -r systemd-network && useradd -r -g systemd-network systemd-network
14-
1513
RUN --mount=target=/var/lib/apt/lists,type=cache,sharing=locked \
1614
--mount=target=/var/cache/apt,type=cache,sharing=locked \
1715
rm -f /etc/apt/apt.conf.d/docker-clean && \
@@ -29,9 +27,9 @@ RUN --mount=target=/var/lib/apt/lists,type=cache,sharing=locked \
2927
libgeotiff-dev nlohmann-json3-dev openssh-client openssl ca-certificates \
3028
libxml++2.6-dev parallel
3129

32-
COPY --link --from=ghcr.io/astral-sh/uv:0.5.26 /uv /uvx /bin/
33-
RUN ldconfig
34-
RUN ls -la /bin
30+
ADD https://astral.sh/uv/0.5.26/install.sh /uv-installer.sh
31+
RUN sh /uv-installer.sh && rm /uv-installer.sh
32+
ENV PATH="/root/.local/bin/:$PATH"
3533
# Python 3.11 is currently required by the party_walls package
3634
RUN /bin/sh uv python install 3.11 3.12
3735

0 commit comments

Comments
 (0)