Skip to content

Commit 68bbb79

Browse files
committed
[2.23] Change to Fedora42 image
1 parent e091454 commit 68bbb79

File tree

3 files changed

+913
-672
lines changed

3 files changed

+913
-672
lines changed

Dockerfile

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,27 @@
1-
FROM python:3.13
1+
FROM fedora:42
22

33
ARG USER=odh
44
ARG HOME=/home/$USER
55
ARG TESTS_DIR=$HOME/opendatahub-tests/
6-
ENV UV_PYTHON=python3.12
6+
ENV UV_PYTHON=python3.13
77
ENV UV_COMPILE_BYTECODE=1
88
ENV UV_NO_SYNC=1
99
ENV UV_NO_CACHE=1
1010

1111
ENV BIN_DIR="$HOME_DIR/.local/bin"
1212
ENV PATH="$PATH:$BIN_DIR"
1313

14-
RUN apt-get update \
15-
&& apt-get install -y ssh gnupg software-properties-common curl gpg wget vim apache2-utils rsync\
16-
&& apt-get clean autoclean \
17-
&& apt-get autoremove --yes \
18-
&& rm -rf /var/lib/{apt,dpkg,cache,log}/
14+
# Install Python 3.13 and other dependencies using dnf
15+
RUN dnf update -y \
16+
&& dnf install -y python3.13 python3.13-pip ssh gnupg curl gpg wget vim httpd-tools rsync openssl openssl-devel\
17+
&& dnf clean all \
18+
&& rm -rf /var/cache/dnf
1919

2020
# Install grpcurl
21-
RUN curl -sSL "https://github.com/fullstorydev/grpcurl/releases/download/v1.9.2/grpcurl_1.9.2_linux_x86_64.tar.gz" --output /tmp/grpcurl_1.2.tar.gz \
21+
RUN curl -sSL "https://github.com/fullstorydev/grpcurl/releases/download/v1.9.2/grpcurl_1.9.2_linux_x86_64.tar.gz" --output /tmp/grpcurl_1.2.tar.gz \
2222
&& tar xvf /tmp/grpcurl_1.2.tar.gz --no-same-owner \
2323
&& mv grpcurl /usr/bin/grpcurl
2424

25-
2625
RUN useradd -ms /bin/bash $USER
2726
USER $USER
2827
WORKDIR $HOME_DIR

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dev-dependencies = [
2727
[tool.uv.sources]
2828

2929
[project]
30-
requires-python = "==3.12.*"
30+
requires-python = "==3.13.*"
3131
name = "opendatahub-tests"
3232
version = "0.1.0"
3333
description = "Tests repository for Open Data Hub (ODH)"

0 commit comments

Comments
 (0)