[koffe&Dockerfile/BUG] Fixed sudo bug

Added sudo in the Dockerfile and removed bad sudo in koffe file
main
Joaquin 4 years ago
parent 5f9ed85b2c
commit 3ef4c26442
Signed by: puly
GPG Key ID: 9E9299CD96C65EC6
  1. 2
      Dockerfile
  2. 2
      koffe

@ -6,6 +6,6 @@ COPY pi.is /usr/share/koffe/pi.is
COPY install /usr/share/koffe/install COPY install /usr/share/koffe/install
RUN chmod +x /usr/bin/koffe RUN chmod +x /usr/bin/koffe
RUN pacman -Suy --noconfirm RUN pacman -Suy --noconfirm
RUN pacman -S base archiso pacman-contrib libnewt wget git --noconfirm RUN pacman -S sudo base archiso pacman-contrib libnewt wget git --noconfirm
RUN install -d /finalimage RUN install -d /finalimage
ENTRYPOINT ["/usr/bin/koffe"] ENTRYPOINT ["/usr/bin/koffe"]

@ -146,7 +146,7 @@ then
then then
echo "AUR PACKAGE! BEWARE" echo "AUR PACKAGE! BEWARE"
mkdir /tmp/koffe/home mkdir /tmp/koffe/home
sudo usermod -d /tmp/koffe/home/ nobody usermod -d /tmp/koffe/home/ nobody
git clone https://aur.archlinux.org/$app /tmp/koffe/aurbg/$app git clone https://aur.archlinux.org/$app /tmp/koffe/aurbg/$app
chown -hR nobody /tmp/koffe/ chown -hR nobody /tmp/koffe/
cd /tmp/koffe/aurbg/$app cd /tmp/koffe/aurbg/$app

Loading…
Cancel
Save