/ Containerfile
Containerfile
 1  FROM quay.io/fedora/fedora-toolbox:latest
 2  
 3  COPY README.md /
 4  
 5  RUN <<EORUN
 6  set -euo pipefail
 7  
 8  dnf -y --setopt="install_weak_deps=False" --no-docs install \
 9  	mariadb-connector-c-devel \
10  	autoconf-archive \
11  	pcsc-lite-devel \
12  	libevent-devel \
13  	systemd-devel \
14  	check-devel \
15  	glib2-devel \
16  	toolbox \
17  	automake \
18  	autoconf \
19  	valgrind \
20  	intltool \
21  	libtool \
22  	make \
23  	lshw \
24  	gdb \
25  	gcc \
26  	zsh \
27  	mc
28  
29  dnf -y clean all
30  rm -rf /var/{log,cache,spool,tmp}/*
31  EORUN
32  
33  ENV imagename="dev-toolbox"
34  ARG buildid="unset"
35  ARG commit="unknown"
36  
37  LABEL vendor="Dirk Gottschalk" \
38  	name=${imagename} \
39  	license="MIT" \
40  	version="${buildid}" \
41  	org.opencontainers.image.license="MIT" \
42  	org.opencontainers.image.vendor="Dirk Gottschalk" \
43  	org.opencontainers.image.name=${imagename} \
44  	org.opencontainers.image.url="" \
45  	org.opencontainers.image.authors="Dirk Gottschalk <dirk.gottschalk1980@googlemail.com>" \
46  	org.opencontainers.image.version=${buildid} \
47  	org.opencontainers.image.description="Developer toolbox." \
48  	org.opencontainers.image.commit-id=${commit}