From 8ed47f60ff5b306af8ad4c45c575c046c2094a06 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Tue, 17 Sep 2024 08:30:35 +0100 Subject: [PATCH] build: be more flexible in apt-get versions for docker image --- Dockerfile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 914accc..0eae36e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,14 +9,7 @@ FROM docker.io/rust:1.81.0-slim-bookworm # git - git RUN apt-get update \ && \ - apt-get install -y \ - --no-install-recommends \ - nodejs=18.19.0+dfsg-6~deb12u2 \ - curl=7.88.1-10+deb12u7 \ - pkg-config=1.8.1-1 \ - libssl-dev=3.0.14-1~deb12u2 \ - libdbus-1-dev=1.14.10-1~deb12u1 \ - git=1:2.39.2-1.1 \ + apt-get satisfy -y "nodejs (>=18.19.0) curl (>=7.88.1) pkg-config (>=1.8.1) libssl-dev (>=3.0.14) git (>=2.39.2)" \ && \ rm -r /var/lib/apt/lists/*