Skip to content

Commit 94c2ec6

Browse files
authored
Merge pull request #211 from freelawproject/docker_remove_retries
chore(docker): Remove apt-get Retries option
2 parents 6056232 + 402a1b5 commit 94c2ec6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docker/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ COPY --from=ghcr.io/astral-sh/uv:0.7 /uv /uvx /bin/
99
# caching: https://docs.docker.com/build/cache/optimize/#use-cache-mounts
1010
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
1111
--mount=type=cache,target=/var/lib/apt,sharing=locked \
12-
apt-get update --option "Acquire::Retries=3" --quiet=2 && \
12+
apt-get update --quiet=2 && \
1313
apt-get install -y --no-install-recommends apt-utils && \
1414
apt-get install -y \
1515
build-essential \
@@ -23,7 +23,6 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
2323
tesseract-ocr \
2424
&& \
2525
apt-get install \
26-
--option "Acquire::Retries=3" \
2726
--no-install-recommends \
2827
--assume-yes \
2928
--quiet=2 \

0 commit comments

Comments
 (0)