From bbf7bb6918149bdae164fa1aa9ecad8019352acc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Csuchapalaver=E2=80=9D?= <“jlivesey@gmail.com”> Date: Thu, 14 Apr 2022 13:13:51 -0400 Subject: [PATCH] Used this fix to build and deploy on Digital Ocean https://github.com/LukeMathWalker/zero-to-production/issues/71\#issuecomment-908092465 --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 923ba37..af936c1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,10 @@ -FROM lukemathwalker/cargo-chef:latest-rust-1.59.0 as chef +FROM lukemathwalker/cargo-chef:latest-rust-1.53.0 as chef # Let's switch our working directory to `app` (equivalent to `cd app`) # The `app` folder will be created for us by Docker in case it does not # exist already. WORKDIR /app -# Install the required system dependencies for our linking configuration -RUN apt update && apt install lld clang -y FROM chef as planner @@ -45,7 +43,7 @@ WORKDIR /app # Install ca-certificates - it is needed to verify TLS certificates # when establishing HTTPS connections RUN apt-get update -y \ - && apt-get install -y --no-install-recommends openssl ca-certificates \ + && apt-get install -y --no-install-recommends openssl \ # Clean up && apt-get autoremove -y \ && apt-get clean -y \