Skip to content

Commit 7d55c8f

Browse files
committed
⬆️ Upgrade debian to trixie and all dependencies
1 parent 42533eb commit 7d55c8f

File tree

2 files changed

+22
-19
lines changed

2 files changed

+22
-19
lines changed

icantbelieveitsnotvaletudo/Dockerfile

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,30 @@ FROM $BUILD_FROM AS BUILD
44
ENV LANG C.UTF-8
55

66
RUN apt-get update && apt-get -y --no-install-recommends install \
7-
git=1:2.39.5-0+deb12u2 \
8-
npm=9.2.0~ds1-1 \
9-
python3=3.11.2-1+b1 \
10-
libpixman-1-dev=0.42.2-1 \
11-
libcairo2-dev=1.16.0-7 \
12-
libpango1.0-dev=1.50.12+ds-1 \
13-
build-essential=12.9 \
14-
libjpeg62-turbo-dev=1:2.1.5-2
7+
git=1:2.47.3-0+deb13u1 \
8+
npm=9.2.0~ds1-3 \
9+
python3=3.13.5-1 \
10+
libpixman-1-dev=0.44.0-3 \
11+
libcairo2-dev=1.18.4-1+b1 \
12+
libpango1.0-dev=1.56.3-1 \
13+
build-essential=12.12 \
14+
libjpeg62-turbo-dev=1:2.1.5-4 \
15+
&& npm install -g [email protected] && n 18.16.1
1516

1617
# Splited RUN for better layer caching
1718
# hadolint ignore=DL3059
1819
RUN git config --global advice.detachedHead false && \
1920
git clone https://github.com/Hypfer/ICantBelieveItsNotValetudo.git -b 2023.08.0 /app
2021

2122
WORKDIR /app
22-
RUN npm install
23+
RUN npm install --verbose
2324

2425

2526
FROM $BUILD_FROM AS SERVER
2627

2728
RUN apt-get update && apt-get -y --no-install-recommends install \
28-
npm=9.2.0~ds1-1
29+
npm=9.2.0~ds1-3 \
30+
&& npm install -g [email protected] && n 18.16.1
2931

3032
COPY root/server /server
3133

@@ -36,11 +38,12 @@ RUN npm install
3638
FROM $BUILD_FROM AS RUNNING
3739

3840
RUN apt-get update && apt-get -y --no-install-recommends install \
39-
npm=9.2.0~ds1-1 \
40-
libpixman-1-0=0.42.2-1 \
41-
libcairo2=1.16.0-7 \
42-
libpango-1.0-0=1.50.12+ds-1 \
43-
libjpeg62-turbo=1:2.1.5-2 \
41+
npm=9.2.0~ds1-3 \
42+
libpixman-1-0=0.44.0-3 \
43+
libcairo2=1.18.4-1+b1 \
44+
libpango-1.0-0=1.56.3-1 \
45+
libjpeg62-turbo=1:2.1.5-4 \
46+
&& npm cache clean -f && npm install -g [email protected] && n 18.16.1 \
4447
&& apt-get clean \
4548
&& rm -rf /var/lib/apt/lists/*
4649

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
build_from:
2-
armv7: ghcr.io/home-assistant/armv7-base-debian:bookworm
3-
aarch64: ghcr.io/home-assistant/aarch64-base-debian:bookworm
4-
amd64: ghcr.io/home-assistant/amd64-base-debian:bookworm
5-
i386: ghcr.io/home-assistant/i386-base-debian:bookworm
2+
armv7: ghcr.io/home-assistant/armv7-base-debian:trixie
3+
aarch64: ghcr.io/home-assistant/aarch64-base-debian:trixie
4+
amd64: ghcr.io/home-assistant/amd64-base-debian:trixie
5+
i386: ghcr.io/home-assistant/i386-base-debian:trixie

0 commit comments

Comments
 (0)