From d6d5feb414780d361151372e9ff48119c8448d24 Mon Sep 17 00:00:00 2001 From: Luca Favini Date: Sun, 21 Apr 2024 19:15:51 +0200 Subject: [PATCH] ci: change `Dockerfile` base image to improve build time --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 24dc5a1..b56a3e3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ocaml/opam:alpine-ocaml-5.0 +FROM ocaml/opam:latest WORKDIR /app @@ -6,7 +6,7 @@ COPY backend . COPY .env . RUN sudo chown -R opam:nogroup . -RUN sudo apk add gmp-dev libev-dev postgresql14-dev +RUN sudo apt-get update && sudo apt-get install -y libgmp-dev libev-dev libpq-dev pkg-config ENV OPAMTIMEOUT=1800 ENV OPAMSOLVERTIMEOUT=1800