From 308b8d8914fcc2e1b236c235e25c4e81a659ea5e Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 8 Sep 2019 13:38:00 +0800 Subject: [PATCH 1/7] base image no longer uses coreutils-single https://github.com/fedora-cloud/docker-brew-fedora/issues/58 --- Dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 00a3caa..a9df9a6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,6 @@ LABEL com.github.debarshiray.toolbox="true" \ COPY README.md / RUN sed -i '/tsflags=nodocs/d' /etc/dnf/dnf.conf -RUN dnf -y swap coreutils-single coreutils-full COPY missing-docs / RUN dnf -y reinstall $( Date: Tue, 24 Sep 2019 20:10:54 +0200 Subject: [PATCH 2/7] Avoid losing useradd(8) by accident The shadow-utils package was added to the base toolbox images to ensure the presence of the useradd(8) command. Currently the package is already pulled in by various dependencies. Therefore, it doesn't increase the size of the base image, but serves as a safeguard against any inadvertent changes. --- extra-packages | 1 + 1 file changed, 1 insertion(+) diff --git a/extra-packages b/extra-packages index d48965e..c998b3f 100644 --- a/extra-packages +++ b/extra-packages @@ -24,6 +24,7 @@ passwd pigz procps-ng rsync +shadow-utils sudo tcpdump time From 2823d72c9792be6c6cc0ae82d70c3f8f7d33f871 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Tue, 24 Sep 2019 21:05:43 +0200 Subject: [PATCH 3/7] Install only flatpak-spawn, not the rest of flatpak-xdg-utils https://github.com/debarshiray/toolbox/issues/147 --- extra-packages | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extra-packages b/extra-packages index c998b3f..b37c946 100644 --- a/extra-packages +++ b/extra-packages @@ -3,7 +3,7 @@ bzip2 diffutils dnf-plugins-core findutils -flatpak-xdg-utils +flatpak-spawn fpaste git gnupg From c771d69fe6038dc613950610282a515649e713d2 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Thu, 10 Oct 2019 16:04:43 +0200 Subject: [PATCH 4/7] Update the label for tagging to reflect the project's new home https://github.com/containers/toolbox/pull/293 --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a9df9a6..e6bab3c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,8 @@ FROM registry.fedoraproject.org/fedora:31 ENV NAME=fedora-toolbox VERSION=31 -LABEL com.github.debarshiray.toolbox="true" \ +LABEL com.github.containers.toolbox="true" \ + com.github.debarshiray.toolbox="true" \ com.redhat.component="$NAME" \ name="$FGC/$NAME" \ version="$VERSION" \ From 0ff415dc53582b4662ac980927ce6a6a521f8883 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Mon, 15 Jun 2020 19:42:09 +0200 Subject: [PATCH 5/7] extra-packages: Add gvfs-client The gvfs-client package is necessary for GIO-based processes inside toolbox containers to use the GVfs backend and volume monitor daemons, and it comes preinstalled on Fedora Silverblue and Workstation. https://github.com/containers/toolbox/pull/466 --- extra-packages | 1 + 1 file changed, 1 insertion(+) diff --git a/extra-packages b/extra-packages index b37c946..2429179 100644 --- a/extra-packages +++ b/extra-packages @@ -8,6 +8,7 @@ fpaste git gnupg gnupg2-smime +gvfs-client hostname iputils jwhois From 9ab10a6c9af69e79d2cf74b5fb52aa7ee50dcdf9 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Fri, 30 Oct 2020 19:45:38 +0100 Subject: [PATCH 6/7] extra-packages: Allow X11 clients to run as root If an X11 client is started inside a 'su -' session, then xauth(1) needs to be present so that pam_xauth.so can add a new XAUTHORITY environment variable to the 'su -' session. https://github.com/containers/toolbox/pull/572 --- extra-packages | 1 + 1 file changed, 1 insertion(+) diff --git a/extra-packages b/extra-packages index 2429179..0597b1b 100644 --- a/extra-packages +++ b/extra-packages @@ -36,5 +36,6 @@ vte-profile wget which words +xorg-x11-xauth xz zip From 61c40332b92a73478b4fbbd3c564be4370527e46 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Sun, 15 Nov 2020 23:11:40 +0100 Subject: [PATCH 7/7] Give access to Avahi to resolve the .local mDNS domain The nss-mdns plugin for the GNU Name Service Switch (or NSS) functionality of the GNU C Library is necessary to resolve the .local mDNS domain. The plugin talks to the Avahi daemon running on the host to resolve the names. https://github.com/containers/toolbox/issues/209 --- extra-packages | 1 + 1 file changed, 1 insertion(+) diff --git a/extra-packages b/extra-packages index 0597b1b..942271c 100644 --- a/extra-packages +++ b/extra-packages @@ -20,6 +20,7 @@ man-db man-pages mlocate mtr +nss-mdns openssh-clients passwd pigz