Skip to content

Commit

Permalink
增加 ca-certificates
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinhuish committed Nov 21, 2023
1 parent 495b788 commit 67502b4
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@ FROM ubuntu:22.04

# install dependencies
RUN apt-get update \
&& apt-get install -y --no-install-recommends curl gnupg lsb-release \
&& curl https://pkg.cloudflareclient.com/pubkey.gpg | gpg --yes --dearmor --output /usr/share/keyrings/cloudflare-warp-archive-keyring.gpg \
&& apt-get install -y --no-install-recommends curl gnupg lsb-release ca-certificates \
&& apt-get clean \
&& apt-get autoremove -y

RUN curl https://pkg.cloudflareclient.com/pubkey.gpg | gpg --yes --dearmor --output /usr/share/keyrings/cloudflare-warp-archive-keyring.gpg \
&& echo "deb [arch=amd64 signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/cloudflare-client.list \
&& apt-get update \
&& apt-get install -y --no-install-recommends cloudflare-warp \
&& apt-get clean \
&& apt-get autoremove -y
&& apt-get autoremove -y \
&& apt-get clean

# Accept Cloudflare WARP TOS
RUN mkdir -p /root/.local/share/warp \
Expand Down

0 comments on commit 67502b4

Please sign in to comment.