Skip to content

Commit

Permalink
images: Add fedora-toolbox image definition for Fedora 34
Browse files Browse the repository at this point in the history
  • Loading branch information
HarryMichal authored and debarshiray committed Aug 21, 2020
1 parent 464ea7c commit 3fee36c
Show file tree
Hide file tree
Showing 4 changed files with 83 additions and 0 deletions.
27 changes: 27 additions & 0 deletions images/fedora/f34/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
FROM registry.fedoraproject.org/fedora:34

ENV NAME=fedora-toolbox VERSION=34
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" \
summary="Base image for creating Fedora toolbox containers" \
maintainer="Debarshi Ray <[email protected]>"

COPY README.md /

RUN sed -i '/tsflags=nodocs/d' /etc/dnf/dnf.conf

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
1 change: 1 addition & 0 deletions images/fedora/f34/README.md
40 changes: 40 additions & 0 deletions images/fedora/f34/extra-packages
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
bash-completion
bzip2
diffutils
dnf-plugins-core
findutils
flatpak-spawn
fpaste
git
gnupg
gnupg2-smime
gvfs-client
hostname
iputils
jwhois
keyutils
krb5-libs
less
lsof
man-db
man-pages
mlocate
mtr
openssh-clients
passwd
pigz
procps-ng
rsync
shadow-utils
sudo
tcpdump
time
traceroute
tree
unzip
vte-profile
wget
which
words
xz
zip
15 changes: 15 additions & 0 deletions images/fedora/f34/missing-docs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
acl
bash
curl
gawk
grep
gzip
libcap
openssl
p11-kit
pam
python3
rpm
sed
systemd
tar

0 comments on commit 3fee36c

Please sign in to comment.