fix: add ca-certificates to ubuntu dockerfiles (#4998)

This commit is contained in:
Fran Arbanas
2024-10-18 18:39:13 +02:00
committed by GitHub
parent d291582128
commit 7b1200f338
2 changed files with 3 additions and 5 deletions
@@ -26,6 +26,8 @@ RUN cargo build --release
FROM ubuntu:24.04
RUN apt update && apt install -yy curl ca-certificates
WORKDIR /nym
COPY --from=builder /usr/src/nym/nym-credential-proxy/target/release/nym-credential-proxy ./
+1 -5
View File
@@ -7,11 +7,7 @@ RUN cargo build --release
FROM ubuntu:24.04
RUN echo "Acquire::http::Pipeline-Depth 0;" > /etc/apt/apt.conf.d/99custom && \
echo "Acquire::http::No-Cache true;" >> /etc/apt/apt.conf.d/99custom && \
echo "Acquire::BrokenProxy true;" >> /etc/apt/apt.conf.d/99custom
RUN apt update && apt install -yy curl
RUN apt update && apt install -yy curl ca-certificates
WORKDIR /nym