Compare commits

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

10 commits

Author SHA1 Message Date
41c23bef76 Update the label for tagging to reflect the project's new home
https://github.com/containers/toolbox/pull/293
2019-10-10 16:06:33 +02:00
2148ce0950 Install only flatpak-spawn, not the rest of flatpak-xdg-utils
https://github.com/debarshiray/toolbox/issues/147
2019-09-24 21:08:49 +02:00
7a1bea62c6 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.
2019-09-24 20:25:16 +02:00
Jens Petersen
40c2dc11d6 PackageKit-command-not-found 2019-07-11 11:10:13 +00:00
d7ff340f24 Add label for tagging, not tied to the fedora-toolbox name
Currently the toolbox script identifies toolbox images and containers
by checking whether the com.redhat.component label matches
"fedora-toolbox". However, as per the Fedora Container Guidelines [1],
the com.redhat.com label should match the Red Hat Bugzilla component
name where bugs against the image should be reported. This means that
images derived from the base fedora-toolbox image would likely end up
overwriting it.

One option would've been to mandate that all toolbox images have the
"fedora-toolbox-" prefix in their names. However, it's better to avoid
putting limitations on how images can be named. The "fedora" name
wouldn't anyway work for images based on other distributions, and not
all images are going to use the Red Hat bugzilla for tracking bugs.

It's better to use a tag that's uniquely associated with the toolbox
project, and isn't tied to a particular distribution or bug tracker.

[1] https://fedoraproject.org/wiki/Container:Guidelines
2019-04-15 18:04:13 +02:00
b988a8ca80 Synchronize with upstream 2019-03-21 18:09:32 +01:00
4d25f4d1c0 Reduce the size by removing temporary files created by DNF
For a locally built squashed fedora-toolbox:29 image [1], the size
reported by 'podman images' goes from 630 MB to 425 MB.

[1] Using: buildah bud --squash ...
2019-03-21 18:08:02 +01:00
6173d9adc3 extra-packages: Add krb5-libs
The krb5-libs package was added to the base toolbox images to ensure
the presence of the /etc/krb5.conf.d directory with the correct
permissions. 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.

https://github.com/debarshiray/toolbox/pull/74
2019-03-21 18:05:59 +01:00
44c4b7406b Restore documentation removed from the base Fedora images
https://github.com/debarshiray/toolbox/pull/55
2019-03-21 18:03:00 +01:00
fd35db822b Clean up the fallout from the Fedora 30 branching snafu
This reverts commit 62506d9f58

https://pagure.io/releng/issue/8210
2019-03-21 17:53:28 +01:00
4 changed files with 33 additions and 6 deletions

View file

@ -1,7 +1,9 @@
FROM registry.fedoraproject.org/fedora:31
FROM registry.fedoraproject.org/fedora:30
ENV NAME=fedora-toolbox VERSION=31
LABEL com.redhat.component="$NAME" \
ENV NAME=fedora-toolbox VERSION=30
LABEL com.github.containers.toolbox="true" \
com.github.debarshiray.toolbox="true" \
com.redhat.component="$NAME" \
name="$FGC/$NAME" \
version="$VERSION" \
usage="This image is meant to be used with the toolbox command" \
@ -13,8 +15,14 @@ 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 $(<missing-docs)
RUN rm /missing-docs
COPY extra-packages /
RUN dnf -y install $(<extra-packages)
RUN rm /extra-packages
RUN dnf clean all
CMD /bin/sh

View file

@ -14,7 +14,7 @@ This is particularly useful on
systems is to discourage installation of software on the host, and instead
install software as (or in) containers.
However this project doesn't *require* using an OSTree based system — it
However, this tool doesn't *require* using an OSTree based system — it
works equally well if you're running e.g. existing Fedora Workstation or
Server, and that's a useful way to incrementally adopt containerization.

View file

@ -3,7 +3,7 @@ bzip2
diffutils
dnf-plugins-core
findutils
flatpak-xdg-utils
flatpak-spawn
fpaste
git
gnupg
@ -12,6 +12,7 @@ hostname
iputils
jwhois
keyutils
krb5-libs
less
lsof
man-db
@ -19,11 +20,11 @@ man-pages
mlocate
mtr
openssh-clients
PackageKit-command-not-found
passwd
pigz
procps-ng
rsync
shadow-utils
sudo
tcpdump
time

18
missing-docs Normal file
View file

@ -0,0 +1,18 @@
acl
bash
chkconfig
curl
dbus-daemon
gawk
grep
gzip
libcap
openssl
p11-kit
pam
python3
rpm
rpm-plugin-systemd-inhibit
sed
systemd
tar