We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1a4c154 + 3f358ff commit a7a8f85Copy full SHA for a7a8f85
1 file changed
portable.Dockerfile
@@ -8,6 +8,10 @@ ENV DEBIAN_FRONTEND=noninteractive \
8
# Prepare directories
9
WORKDIR /code
10
11
+# Make apt resilient to transient ports.ubuntu.com mirror failures
12
+RUN printf 'Acquire::Retries "6";\nAcquire::http::Timeout "30";\n' \
13
+ > /etc/apt/apt.conf.d/99-retries
14
+
15
# Copy everything
16
COPY . ./
17
@@ -54,6 +58,10 @@ COPY --from=builder /code /code
54
58
55
59
ENV PATH="/code/venv/bin:$PATH"
56
60
61
62
63
64
57
65
# Install shared libraries that we depend on via APT, but *not*
66
# the -dev packages to save space!
67
# Also run a smoke test on ODM and OpenSfM
0 commit comments