Compare commits

...
Sign in to create a new pull request.

7 commits

Author SHA1 Message Date
Ondřej Míchal
c81107b8ac Simplify image name
Currently the images are named as "f<version>/fedora-toolbox". This is
troublesome for new users of toolbox (even those with some background to
containers) because everywhere the image is advertised or talked about
as "fedora-toolbox". This is taken care of by Toolbox CLI but has no
effect on Podman itself (or any other tool capable of working with OCI
images).

Another pain point is in the Fedora registry[0] all "fedora-toolbox"
images get a different entry for every version of Fedora. There is no
single place for all "fedora-toolbox" images.

With this change I propose to only use "fedora-toolbox" as the name of
the container and make use of VERSION to distinguish between versions of
Fedora. Currently when you go to the Fedora registry and find an entry
for "fedora-toolbox" you'll see all previous images. I believe that with
this change that "feature" will be lost. But I personally find that
"feature" to be rather confusing because what usually a user wants the
latest version of a container (I partially base this statement on the
fact that most images are versioned this way; e.g. Ubuntu on Docker
Hub[1]).

[0] https://registry.fedoraproject.org/
[1] https://hub.docker.com/_/ubuntu
2021-02-12 17:32:45 +01:00
d642b9f32a 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
2020-11-15 23:17:15 +01:00
7ca1173019 Make locate(1) work inside toolbox containers
This reverts commit 1631209a2d.

https://github.com/containers/toolbox/issues/391
2020-11-15 23:15:55 +01:00
4a34af1a90 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
2020-10-30 20:13:44 +01:00
366895197f 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
2020-06-15 19:51:29 +02:00
Jens Petersen
1631209a2d drop mlocate: https://github.com/containers/toolbox/issues/391 2020-04-19 15:01:41 +08:00
Jens Petersen
6a2b9d4835 try removing uninstalled packages from missing-docs (error 143)
atomic_reactor.util - Package chkconfig available, but not installed.
atomic_reactor.util - No match for argument: chkconfig
atomic_reactor.util - Package dbus-daemon available, but not installed.
atomic_reactor.util - No match for argument: dbus-daemon
atomic_reactor.util - Package rpm-plugin-systemd-inhibit available, but not installed.
atomic_reactor.util - No match for argument: rpm-plugin-systemd-inhibit
:
:
atomic_reactor.util - DEBUG - Running scriptlet: gawk-5.0.1-7.fc32.x86_64  38/38
atomic_reactor.util - DEBUG - Removing intermediate container a533251cf472
atomic_reactor.util - ERROR - {'errorDetail': {'code': 143, 'message': "The command '/bin/sh -c dnf -y reinstall $(<missing-docs)' returned a non-zero code: 143"}, 'error': "The command '/bin/sh -c dnf -y reinstall $(<missing-docs)' returned a non-zero code: 143"}
2020-04-19 15:01:41 +08:00
3 changed files with 4 additions and 4 deletions

View file

@ -4,7 +4,7 @@ ENV NAME=fedora-toolbox VERSION=32
LABEL com.github.containers.toolbox="true" \
com.github.debarshiray.toolbox="true" \
com.redhat.component="$NAME" \
name="$FGC/$NAME" \
name="$NAME" \
version="$VERSION" \
usage="This image is meant to be used with the toolbox command" \
summary="Base image for creating Fedora toolbox containers" \

View file

@ -8,6 +8,7 @@ fpaste
git
gnupg
gnupg2-smime
gvfs-client
hostname
iputils
jwhois
@ -19,6 +20,7 @@ man-db
man-pages
mlocate
mtr
nss-mdns
openssh-clients
passwd
pigz
@ -35,5 +37,6 @@ vte-profile
wget
which
words
xorg-x11-xauth
xz
zip

View file

@ -1,8 +1,6 @@
acl
bash
chkconfig
curl
dbus-daemon
gawk
grep
gzip
@ -12,7 +10,6 @@ p11-kit
pam
python3
rpm
rpm-plugin-systemd-inhibit
sed
systemd
tar