Compare commits

...

1 Commits

Author SHA1 Message Date
Supan Adit Pratama
4004243bce feat: ubuntu 24.04 base
All checks were successful
continuous-integration/drone/tag Build is passing
2024-09-26 16:57:41 +07:00

View File

@ -1,19 +1,4 @@
FROM archlinux/archlinux:latest FROM ubuntu:24.04
RUN pacman-key --init RUN apt-get update -y
RUN pacman -Sy git binutils make pkg-config fakeroot openssl base-devel --noconfirm RUN apt-get install make texlive-full -y
# Create a new user
RUN useradd --no-create-home --shell=/bin/false build && usermod -L build
RUN echo "build ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
RUN echo "root ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
USER build
WORKDIR /tmp
RUN git clone https://aur.archlinux.org/yay-bin.git
WORKDIR /tmp/yay-bin
RUN makepkg -si --noconfirm
RUN yay -Sy texlive-full --noconfirm