diff --git a/doc/news/_preparation_next_release.md b/doc/news/_preparation_next_release.md index 7c5a7cc746d..db96da5dcc9 100644 --- a/doc/news/_preparation_next_release.md +++ b/doc/news/_preparation_next_release.md @@ -514,7 +514,7 @@ This section keeps you up-to-date with the multi-language support provided by El - Use openwrt/sdk instead of openwrtorg/sdk. _(Richard Stöckl @Eiskasten)_ - <> - <> -- <> +- Reduce fedora docker image size (PR #4637) _(@4ydan)_ ## Infrastructure diff --git a/scripts/docker/fedora/31/Dockerfile b/scripts/docker/fedora/31/Dockerfile index 494c48d23a0..7e8d882fb42 100644 --- a/scripts/docker/fedora/31/Dockerfile +++ b/scripts/docker/fedora/31/Dockerfile @@ -1,6 +1,6 @@ FROM fedora:31 -RUN dnf upgrade -y && dnf install -y \ +RUN dnf upgrade -y && dnf install -y --setopt=install_weak_deps=False \ augeas-devel \ bison \ bison-devel \ diff --git a/scripts/docker/fedora/32/Dockerfile b/scripts/docker/fedora/32/Dockerfile index cd845188a1f..c25fd133fd8 100644 --- a/scripts/docker/fedora/32/Dockerfile +++ b/scripts/docker/fedora/32/Dockerfile @@ -1,6 +1,6 @@ FROM fedora:32 -RUN dnf upgrade -y && dnf install -y \ +RUN dnf upgrade -y && dnf install -y --setopt=install_weak_deps=False \ augeas-devel \ bison \ bison-devel \ diff --git a/scripts/docker/fedora/33/Dockerfile b/scripts/docker/fedora/33/Dockerfile index 1bd3a93c4e3..fa550dbbd5f 100644 --- a/scripts/docker/fedora/33/Dockerfile +++ b/scripts/docker/fedora/33/Dockerfile @@ -1,6 +1,6 @@ FROM fedora:33 -RUN dnf upgrade --refresh -y && dnf install -y \ +RUN dnf upgrade --refresh -y && dnf install -y --setopt=install_weak_deps=False \ augeas-devel \ bison \ bison-devel \ diff --git a/scripts/docker/fedora/34/Dockerfile b/scripts/docker/fedora/34/Dockerfile index 4f795a4b4ce..05cf4b3ff10 100644 --- a/scripts/docker/fedora/34/Dockerfile +++ b/scripts/docker/fedora/34/Dockerfile @@ -1,6 +1,6 @@ FROM fedora:34 -RUN dnf upgrade --refresh -y && dnf install -y \ +RUN dnf upgrade --refresh -y && dnf install -y --setopt=install_weak_deps=False \ augeas-devel \ bison \ bison-devel \ diff --git a/scripts/docker/fedora/35/Dockerfile b/scripts/docker/fedora/35/Dockerfile index 970206e36be..297f79f0f8a 100644 --- a/scripts/docker/fedora/35/Dockerfile +++ b/scripts/docker/fedora/35/Dockerfile @@ -1,6 +1,6 @@ FROM fedora:35 -RUN dnf upgrade --refresh -y && dnf install -y \ +RUN dnf upgrade --refresh -y && dnf install -y --setopt=install_weak_deps=False \ augeas-devel \ bison \ bison-devel \ diff --git a/scripts/docker/fedora/36/Dockerfile b/scripts/docker/fedora/36/Dockerfile index 9e7c3554b86..6f217b31a61 100644 --- a/scripts/docker/fedora/36/Dockerfile +++ b/scripts/docker/fedora/36/Dockerfile @@ -1,6 +1,6 @@ FROM fedora:36 -RUN dnf upgrade --refresh -y && dnf install -y \ +RUN dnf upgrade --refresh -y && dnf install -y --setopt=install_weak_deps=False \ augeas-devel \ bison \ bison-devel \ diff --git a/scripts/docker/fedora/37/Dockerfile b/scripts/docker/fedora/37/Dockerfile index fe0f57fa12b..d94f04afedf 100644 --- a/scripts/docker/fedora/37/Dockerfile +++ b/scripts/docker/fedora/37/Dockerfile @@ -1,6 +1,6 @@ FROM fedora:37 -RUN dnf upgrade --refresh -y && dnf install -y \ +RUN dnf upgrade --refresh -y && dnf install -y --setopt=install_weak_deps=False \ augeas-devel \ bison \ bison-devel \