Compare commits
2 commits
8ac42e3371
...
0b21aa5e29
Author | SHA1 | Date | |
---|---|---|---|
0b21aa5e29 | |||
b87eac089c |
4 changed files with 129 additions and 0 deletions
45
fedora-atomic/Containerfile.debian-distrobox
Normal file
45
fedora-atomic/Containerfile.debian-distrobox
Normal file
|
@ -0,0 +1,45 @@
|
|||
FROM docker.io/library/debian:bookworm
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get upgrade -y && \
|
||||
apt-get install -y \
|
||||
build-essential \
|
||||
cmake \
|
||||
extra-cmake-modules \
|
||||
qtbase5-dev \
|
||||
qtdeclarative5-dev \
|
||||
qtquickcontrols2-5-dev \
|
||||
kirigami2-dev \
|
||||
libkf5i18n-dev \
|
||||
gettext \
|
||||
libkf5coreaddons-dev \
|
||||
libqt5svg5-dev \
|
||||
libkf5config-dev \
|
||||
pyotherside \
|
||||
python3-dateutil \
|
||||
python3-keyring \
|
||||
python3-requests \
|
||||
git \
|
||||
mercurial \
|
||||
ansible \
|
||||
nano \
|
||||
wget \
|
||||
gnupg \
|
||||
locales \
|
||||
htop \
|
||||
golang \
|
||||
sieve-connect
|
||||
|
||||
RUN wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | gpg --dearmor | tee /etc/apt/trusted.gpg.d/sublimehq-archive.gpg > /dev/null
|
||||
RUN echo "deb https://download.sublimetext.com/ apt/stable/" | tee /etc/apt/sources.list.d/sublime-text.list
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y sublime-text sublime-merge
|
||||
|
||||
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
|
||||
dpkg-reconfigure --frontend=noninteractive locales && \
|
||||
update-locale LANG=en_US.UTF-8
|
||||
|
||||
ENV LANG en_US.UTF-8
|
||||
ENV LANGUAGE en_US:en
|
||||
ENV LC_ALL en_US.UTF-8
|
51
fedora-atomic/Containerfile.fedora-distrobox
Normal file
51
fedora-atomic/Containerfile.fedora-distrobox
Normal file
|
@ -0,0 +1,51 @@
|
|||
FROM registry.fedoraproject.org/fedora-toolbox:40
|
||||
|
||||
RUN sudo dnf groupinstall -y --allowerasing \
|
||||
"Development Tools" \
|
||||
"Development Libraries" \
|
||||
"KDE Plasma Workspaces"
|
||||
|
||||
RUN sudo dnf install -y \
|
||||
cmake \
|
||||
extra-cmake-modules \
|
||||
qt5-qtbase-devel \
|
||||
qt5-qtdeclarative-devel \
|
||||
qt5-qtquickcontrols2-devel \
|
||||
kf5-kirigami2-devel \
|
||||
kf5-ki18n-devel \
|
||||
kf5-kcoreaddons-devel \
|
||||
qqc2-breeze-style \
|
||||
qt5-qtsvg-devel \
|
||||
kf5-kconfig-devel \
|
||||
pyotherside \
|
||||
python3-dateutil \
|
||||
python3-keyring \
|
||||
python3-requests \
|
||||
python3-build \
|
||||
mercurial \
|
||||
mercurial-rust \
|
||||
ansible \
|
||||
ansible-lint \
|
||||
flatpak-builder \
|
||||
xclip \
|
||||
htop \
|
||||
qt6-qtbase-devel \
|
||||
qt6-qtwebengine-devel \
|
||||
qt6-qtwebengine-devtools \
|
||||
qt6-linguist \
|
||||
libxslt-devel \
|
||||
libsecret-devel \
|
||||
mutt \
|
||||
msmtp \
|
||||
lynx \
|
||||
virt-manager \
|
||||
hugo \
|
||||
openssl \
|
||||
wl-clipboard \
|
||||
java-17-openjdk \
|
||||
java-17-openjdk-devel \
|
||||
maven \
|
||||
scdoc \
|
||||
twine \
|
||||
ninja-build \
|
||||
oniguruma-devel
|
32
fedora-atomic/build-distrobox.sh
Executable file
32
fedora-atomic/build-distrobox.sh
Executable file
|
@ -0,0 +1,32 @@
|
|||
#!/bin/bash
|
||||
|
||||
readonly CMD=$(basename "${0}")
|
||||
|
||||
function usage() {
|
||||
echo
|
||||
echo "usage: ${CMD} [fedora|debian]"
|
||||
echo
|
||||
exit 1
|
||||
}
|
||||
|
||||
if [ $# -lt 1 ]; then
|
||||
usage
|
||||
exit 0;
|
||||
fi
|
||||
|
||||
case "${1}" in
|
||||
fedora)
|
||||
NAME="f40"
|
||||
IMAGE="fedora-thrrgilag:40"
|
||||
BUILDFILE="Containerfile.fedora-distrobox";;
|
||||
debian)
|
||||
NAME="debian-bookworm"
|
||||
IMAGE="debian-thrrgilag:bookworm"
|
||||
BUILDFILE="Containerfile.debian-distrobox";;
|
||||
*)
|
||||
usage
|
||||
exit 0;;
|
||||
esac
|
||||
|
||||
podman build -t "${IMAGE}" -f "${BUILDFILE}"
|
||||
distrobox create --name "${NAME}" --home "/home/thrrgilag/h/${NAME}" -i "localhost/${IMAGE}"
|
|
@ -24,6 +24,7 @@
|
|||
- im.pidgin.Pidgin
|
||||
- org.kde.gwenview
|
||||
- org.kde.okular
|
||||
- com.github.unrud.VideoDownloader
|
||||
state: present
|
||||
remote: flathub
|
||||
become: true
|
||||
|
|
Loading…
Reference in a new issue