Skip to content

Commit

Permalink
fix: add ca-certificates to ubuntu dockerfiles (#4998)
Browse files Browse the repository at this point in the history
  • Loading branch information
farbanas authored Oct 18, 2024
1 parent d291582 commit 7b1200f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 2 additions & 0 deletions nym-credential-proxy/nym-credential-proxy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 ./
Expand Down
6 changes: 1 addition & 5 deletions nym-data-observatory/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7b1200f

Please sign in to comment.