Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PLV2_supply_chain_poc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dominik Heinrich
PLV2_supply_chain_poc
Commits
b096bd7e
Commit
b096bd7e
authored
3 weeks ago
by
David Horvát
Browse files
Options
Downloads
Patches
Plain Diff
pacman process
parent
7d8ae9f6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docker-compose.yaml
+11
-1
11 additions, 1 deletion
docker-compose.yaml
machine.Dockerfile
+7
-2
7 additions, 2 deletions
machine.Dockerfile
with
18 additions
and
3 deletions
docker-compose.yaml
+
11
−
1
View file @
b096bd7e
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
...
...
This diff is collapsed.
Click to expand it.
machine.Dockerfile
+
7
−
2
View file @
b096bd7e
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment