[gnome-runtime-images] base: add --allowerasing to dnf upgrades
- From: Jordan Petridis <jpetridis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-runtime-images] base: add --allowerasing to dnf upgrades
- Date: Mon, 11 May 2020 05:57:53 +0000 (UTC)
commit c3d8837b9c6552c149c5d87f95535029203ce782
Author: Jordan Petridis <jpetridis gnome org>
Date: Mon May 11 08:36:02 2020 +0300
base: add --allowerasing to dnf upgrades
base | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/base b/base
index a74009e..035e3cb 100644
--- a/base
+++ b/base
@@ -1,6 +1,6 @@
FROM registry.fedoraproject.org/fedora:latest
-RUN dnf -y update && dnf install -y git 'dnf-command(builddep)' libtool \
+RUN dnf upgrade -y --best --allowerasing && dnf install -y git 'dnf-command(builddep)' libtool \
automake gettext-devel autoconf && \
dnf builddep -y flatpak-builder && \
dnf groupinstall -y "Development Tools"
@@ -22,7 +22,7 @@ WORKDIR /build
# gnome-builder test suite depends on this
RUN cat /dev/urandom | tr -dc a-f0-9 | head -c32 > /etc/machine-id && echo "" >> /etc/machine-id
-RUN dnf -y update && \
+RUN dnf upgrade -y --best --allowerasing && \
dnf install -y flatpak flatpak-builder librsvg2 ostree fuse elfutils \
dconf dbus-daemon git bzr xorg-x11-server-Xvfb dbus-x11 python3-ruamel-yaml \
python3-gobject json-glib && \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]