From 401ff7f7a7430fed1a1e7550a0bd00fd027b6dcd Mon Sep 17 00:00:00 2001 From: Olga Bulat Date: Wed, 4 Dec 2024 19:38:20 +0300 Subject: [PATCH] Fix ov Dockerfile (#5247) --- docker/dev_env/Dockerfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docker/dev_env/Dockerfile b/docker/dev_env/Dockerfile index 0462e05e55a..f661bf4795b 100644 --- a/docker/dev_env/Dockerfile +++ b/docker/dev_env/Dockerfile @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:1 -FROM docker.io/library/fedora:42 +FROM docker.io/library/fedora:41 # We want to keep all important things in `/opt` as we will preserve the # `/opt` directory as a volume. @@ -52,10 +52,10 @@ ENV PATH="${PNPM_BIN}:${N_PREFIX}/bin:${PDM_PYTHONS}:${HOME}/.local/bin:${PATH}" # - n: Node.js distribution manager # - corepack: Node.js package-manager-manager RUN mkdir /pipx \ - && dnf -y install dnf-plugins-core \ - && dnf -y config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo \ - && dnf -y install https://dl.k6.io/rpm/repo.rpm \ - && dnf -y install \ + && dnf5 -y install dnf-plugins-core \ + && dnf5 -y config-manager addrepo --from-repofile=https://download.docker.com/linux/fedora/docker-ce.repo \ + && dnf5 -y install https://dl.k6.io/rpm/repo.rpm \ + && dnf5 -y install \ git \ g++ \ just \ @@ -70,7 +70,7 @@ RUN mkdir /pipx \ unzip \ postgresql postgresql-devel \ k6 \ - && dnf clean all \ + && dnf5 clean all \ && pipx install --global \ httpie \ pdm pipenv \