From 2947396f758e1f204d74878e3825d67399c0d366 Mon Sep 17 00:00:00 2001 From: Marco Iorio Date: Tue, 9 Jan 2024 12:23:54 +0100 Subject: [PATCH] Dockerfile: pin json-server version New v1.0.0-alpha.* versions have been recently released, which introduce breaking changes. Let's pin the library to the latest stable version for the moment, to ensure reproducible builds. Signed-off-by: Marco Iorio --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index cf3867c..f0dcda9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ # Represents the plataform where the build is happening, do not mix with # TARGETARCH FROM docker.io/library/node:21.5.0-slim@sha256:c88704924204ee6d4e9da02275a8fd27355502f7177e4175cd0d3a4375a9c9c8 -RUN npm install -g json-server \ +RUN npm install -g json-server@v0.17.4 \ && apt-get update \ && apt-get upgrade -y \ && apt-get install -y tini curl iproute2 \