Skip to content

Commit

Permalink
fix: Remove adw-gtk3, this is upstream now
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo authored Sep 27, 2023
1 parent 5954fed commit ef2d2ab
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,29 +83,10 @@ RUN sed -i 's/-march=native -mtune=native/-march=x86-64 -mtune=generic/g' /etc/m
--noconfirm && \
pacman -S \
xdg-desktop-portal-gtk \
--noconfirm && \
useradd -m --shell=/bin/bash build && usermod -L build && \
echo "build ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \
echo "root ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers

# Add adw-gtk3 theme.
USER build
WORKDIR /home/build
RUN paru -R \
xcursor-breeze \
--noconfirm && \
paru -S \
aur/adw-gtk3 \
--noconfirm
USER root
WORKDIR /

# Cleanup
RUN userdel -r build && \
rm -drf /home/build && \
sed -i '/build ALL=(ALL) NOPASSWD: ALL/d' /etc/sudoers && \
sed -i '/root ALL=(ALL) NOPASSWD: ALL/d' /etc/sudoers && \
sed -i 's/-march=x86-64 -mtune=generic/-march=native -mtune=native/g' /etc/makepkg.conf && \
RUN sed -i 's/-march=x86-64 -mtune=generic/-march=native -mtune=native/g' /etc/makepkg.conf && \
rm -rf \
/tmp/* \
/var/cache/pacman/pkg/*

0 comments on commit ef2d2ab

Please sign in to comment.