Skip to content
Snippets Groups Projects
Commit 7a220554 authored by David Horvát's avatar David Horvát
Browse files

Merge remote-tracking branch 'origin/main'

parents e363d28c 6ed81fe8
No related branches found
No related tags found
No related merge requests found
FROM archlinux:latest AS packager
ENV USER=max
RUN pacman-key --init
RUN pacman -Sy --noconfirm base-devel git nginx
RUN mkdir /build
COPY ./files/ /build/
RUN useradd -m max && chown -R max:max /build
RUN echo "max ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers
USER max
RUN useradd -m "$USER" && chown -R "$USER":"$USER" /build
RUN echo ""$USER" ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers
USER "$USER"
WORKDIR /build/not_a_virus2.0
RUN makepkg -s --noconfirm
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment