Skip to content

Commit 53c2351

Browse files
holyspectralxingzhang-suse
authored andcommitted
chore(dep): upgrade to BCI 15.7
Signed-off-by: Sam Wang (holyspectral) <[email protected]>
1 parent a553ce2 commit 53c2351

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

package/Dockerfile

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ COPY build.sbt .scalafix.conf .scalafmt.conf /src/
1818
WORKDIR /src
1919

2020
RUN zypper refresh && \
21-
zypper install -y wget curl zip git awk nodejs20 npm20 && \
21+
zypper install -y wget curl zip git awk nodejs22 npm22 && \
2222
npm install -g [email protected] && \
2323
hash -r
2424

@@ -45,8 +45,8 @@ RUN bash package/build_manager.sh
4545

4646
# Manager unitest
4747
RUN if [ "$ARCH" = "amd64" ]; then \
48-
zypper addrepo https://download.opensuse.org/repositories/M17N:fonts/15.6/M17N:fonts.repo && \
49-
rpm --import https://download.opensuse.org/repositories/M17N/15.6/repodata/repomd.xml.key && \
48+
zypper addrepo https://download.opensuse.org/repositories/M17N:fonts/15.7/M17N:fonts.repo && \
49+
rpm --import https://download.opensuse.org/repositories/M17N/15.7/repodata/repomd.xml.key && \
5050
zypper --non-interactive refresh && \
5151
zypper install -y liberation-fonts && \
5252
wget https://dl.google.com/${OS}/direct/google-chrome-stable_current_${ARCH}.rpm && \
@@ -56,25 +56,24 @@ RUN if [ "$ARCH" = "amd64" ]; then \
5656
fi
5757

5858
# Base image
59-
FROM registry.suse.com/bci/bci-micro:15.6 AS micro
60-
FROM registry.suse.com/bci/bci-base:15.6 AS base
59+
FROM registry.suse.com/bci/bci-micro:15.7 AS micro
60+
FROM registry.suse.com/bci/bci-base:15.7 AS base
6161

6262
COPY --from=builder /src/package/requirements.txt /chroot/requirements.txt
6363
COPY --from=micro / /chroot/
6464

6565
RUN zypper refresh && zypper --installroot /chroot -n in --no-recommends \
66-
python312 python312-pip iproute2 lsof procps grep awk && \
66+
python313 python313-pip iproute2 lsof procps grep awk && \
6767
cp /etc/resolv.conf /chroot/etc/resolv.conf && \
68-
chroot /chroot /usr/bin/python3.12 -m pip install --upgrade pip setuptools && \
69-
rm /chroot/usr/lib/python3.12/site-packages/distutils-precedence.pth && \
68+
chroot /chroot /usr/bin/python3.13 -m pip install --upgrade pip setuptools && \
7069
zypper --installroot /chroot clean -a && \
7170
rm -rf /chroot/var/log/
7271

7372
# Create proper symbolic links for Python and pip
74-
RUN ln -sf /usr/bin/python3.12 /chroot/usr/bin/python3 && \
75-
ln -sf /usr/bin/python3.12 /chroot/usr/bin/python && \
76-
ln -sf /usr/bin/pip3.12 /chroot/usr/bin/pip3 && \
77-
ln -sf /usr/bin/pip3.12 /chroot/usr/bin/pip
73+
RUN ln -sf /usr/bin/python3.13 /chroot/usr/bin/python3 && \
74+
ln -sf /usr/bin/python3.13 /chroot/usr/bin/python && \
75+
ln -sf /usr/bin/pip3.13 /chroot/usr/bin/pip3 && \
76+
ln -sf /usr/bin/pip3.13 /chroot/usr/bin/pip
7877

7978
# Install requirements and clean up
8079
RUN chroot /chroot /bin/sh -c "pip install --no-cache-dir -r /requirements.txt && \

0 commit comments

Comments
 (0)