Skip to content

Commit c597f9f

Browse files
giorio94tklauser
authored andcommitted
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 <[email protected]>
1 parent e46db8f commit c597f9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# Represents the plataform where the build is happening, do not mix with
88
# TARGETARCH
99
FROM docker.io/library/node:21.5.0-slim@sha256:c88704924204ee6d4e9da02275a8fd27355502f7177e4175cd0d3a4375a9c9c8
10-
RUN npm install -g json-server \
10+
RUN npm install -g json-server@v0.17.4 \
1111
&& apt-get update \
1212
&& apt-get upgrade -y \
1313
&& apt-get install -y tini curl iproute2 \

0 commit comments

Comments
 (0)