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

pacman process

parent 7d8ae9f6
No related branches found
No related tags found
No related merge requests found
services:
website:
build: .
build:
context: .
dockerfile: web.Dockerfile
ports:
- 8080:8080
networks:
repo-network:
ipv4_address: 172.20.0.10
vuln_machine:
build:
context: .
dockerfile: machine.Dockerfile
networks:
repo-network:
ipv4_address: 172.20.0.11
networks:
repo-network:
driver: bridge
......
......@@ -3,11 +3,16 @@ FROM archlinux:latest
RUN pacman-key --init
RUN pacman -Sy
# RUN pacman -S ... --noconfirm
RUN cat <<EOF >> /etc/pacman.conf
[mypkgs]
SigLevel = Optional TrustAll
Server = http://localhost/mypkgs
Server = http://172.20.0.10/mypkgs
EOF
CMD /bin/bash
COPY ./simulate.sh .
RUN chmod +x simulate.sh
CMD ./simulate.sh
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