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
273193db
Commit
273193db
authored
3 weeks ago
by
Thomas Schauer-Köckeis
Browse files
Options
Downloads
Patches
Plain Diff
Works
parent
b3618394
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docker-compose.yaml
+5
-0
5 additions, 0 deletions
docker-compose.yaml
upgrade_not_a_virus.sh
+1
-5
1 addition, 5 deletions
upgrade_not_a_virus.sh
web.Dockerfile
+4
-1
4 additions, 1 deletion
web.Dockerfile
with
10 additions
and
6 deletions
docker-compose.yaml
+
5
−
0
View file @
273193db
...
...
@@ -16,6 +16,11 @@ services:
networks
:
repo-network
:
ipv4_address
:
172.20.0.11
depends_on
:
website
:
condition
:
service_started
networks
:
repo-network
:
...
...
This diff is collapsed.
Click to expand it.
upgrade_not_a_virus.sh
+
1
−
5
View file @
273193db
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
This diff is collapsed.
Click to expand it.
web.Dockerfile
+
4
−
1
View file @
273193db
...
...
@@ -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
...
...
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