diff --git a/Dockerfile b/Dockerfile index 2951ba3..062273d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \