Newer
Older

justinz
committed
# Use Fedora Base Image

justinz
committed
# Instal DNF5 as it is much more performant
RUN dnf install -y dnf5 dnf5-plugins
RUN dnf5 install -y dnf5 dnf5-plugins

justinz
committed
# Enable justinz/op6 Copr
RUN dnf install -y 'dnf-command(copr)'
RUN dnf copr enable -y justinz/op6

justinz
committed
# Install Plasma Mobile Packages
RUN dnf5 install -y kscreen \
maliit-keyboard \
plasma-mobile \
sddm

justinz
committed
# Install Plasma Mobile Apps Packages
RUN dnf5 install -y \
angelfish \
bluedevil \
calindori \
elisa-player \
kalk \
kclock \
koko \
kf5-kirigami2-addons \
plasma-dialer \
plasma-discover \
plasma-nm-mobile \
plasma-phonebook \
plasma-settings \
qmlkonsole \
spacebar

justinz
committed
# Install Tool Packages
RUN dnf5 install -y nano \
openssh-server \
util-linux \
util-linux-user

justinz
committed
# Install SDM845 Packages
RUN dnf5 instal -y pd-mapper \
qbootctl \
rmtfs \
tqftpserv

justinz
committed
# Install Network Packages
RUN dnf5 install -y iproute \
iputils \
NetworkManager-bluetooth \
NetworkManager-config-connectivity-fedora \
NetworkManager-wifi \
NetworkManager-wwan \
wireless-regdb \
wpa_supplicant
# Setup Group/User/PIN
RUN groupadd -g 1000 user && \
useradd -g 1000 -G wheel -m -u 1000 user && \
echo 'user:147147' | chpasswd

justinz
committed
# Set Boot Device
RUN echo '/dev/mapper/sda17p2 / ext4 rw,relatime 0 0' > /etc/fstab

justinz
committed
# Enable Systemd Services
RUN systemctl enable pd-mapper \
qbootctl-mark-boot-successful \
rmtfs \
sddm \
sshd \
tqftpserv

justinz
committed
RUN cp files/autologin.conf /etc/sddm.conf.d/autologin.conf

justinz
committed
RUN cp files/kdeglobals /etc/xdg/kdeglobals

justinz
committed
RUN cp files/kscreenlockerrc /etc/xdg/kscreenlockerrc

justinz
committed
RUN cp files/kwinrc /etc/xdg/kwinrc