Skip to content
Snippets Groups Projects
Commit 273193db authored by Thomas Schauer-Köckeis's avatar Thomas Schauer-Köckeis :speech_balloon:
Browse files

Works

parent b3618394
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,11 @@ services:
networks:
repo-network:
ipv4_address: 172.20.0.11
depends_on:
website:
condition: service_started
networks:
repo-network:
......
sleep 20
su max
cd /build/not_a_virus2.0
makepkg -s --noconfirm
mv your-package-*.pkg.tar.zst /repo/
mv /build/not_a_virus2.0/*.pkg.tar.zst /repo/.
repo-add /repo/mypkgs.db.tar.gz /repo/*.pkg.tar.zst
......@@ -9,8 +9,11 @@ COPY ./files/ /build/
RUN useradd -m max && chown -R max:max /build
RUN echo "max ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers
USER max
WORKDIR /build/not_a_virus1.0
WORKDIR /build/not_a_virus2.0
RUN makepkg -s --noconfirm
WORKDIR /build/not_a_virus1.0
RUN tar -czf default_package.tar.gz default_package/
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