feat: update using arch instead
Some checks failed
continuous-integration/drone/tag Build is failing
Some checks failed
continuous-integration/drone/tag Build is failing
This commit is contained in:
parent
ff74134cf1
commit
0ce8a54428
21
Dockerfile
21
Dockerfile
@ -1,6 +1,19 @@
|
|||||||
FROM ubuntu:24.04
|
FROM archlinux/archlinux:latest
|
||||||
|
|
||||||
RUN apt-get update -y
|
RUN pacman-key --init
|
||||||
RUN apt-get install texlive-full -y
|
RUN pacman -Sy git binutils make pkg-config fakeroot openssl base-devel --noconfirm
|
||||||
|
|
||||||
RUN apt-get install make -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
|
Loading…
Reference in New Issue
Block a user