Skip to content

Commit

Permalink
Added docker example for speed comparison
Browse files Browse the repository at this point in the history
Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
  • Loading branch information
prabhu committed Nov 21, 2023
1 parent 8ea7188 commit 49df420
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/nydus-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,16 @@ jobs:
run: |
sudo /usr/local/bin/containerd-nydus-grpc --nydusd-config /etc/nydus/nydusd-config.fusedev.json &
cd repotests/dependency-track
sudo nerdctl --snapshotter nydus run --rm -v $HOME/.m2:/root/.m2 -v $(pwd):/app ghcr.io/cyclonedx/cdxgen:master-nydus -p --profile research -t java /app
sudo nerdctl --snapshotter nydus run --rm -v $HOME/.m2:/root/.m2 -v $(pwd):/app ghcr.io/cyclonedx/cdxgen:master-nydus -p --profile research -t java /app -o /app/bom.json
ls -ltr
- name: cleanup
run: |
cd repotests/dependency-track
rm app.atom bom.json *.slices.json
sudo rm -rf /var/lib/containerd-nydus
continue-on-error: true
- name: dockertests
run: |
cd repotests/dependency-track
sudo nerdctl run --rm -v $HOME/.m2:/root/.m2 -v $(pwd):/app ghcr.io/cyclonedx/cdxgen:master -p --profile research -t java /app
sudo nerdctl run --rm -v $HOME/.m2:/root/.m2 -v $(pwd):/app ghcr.io/cyclonedx/cdxgen:master -p --profile research -t java /app -o /app/bom.json
ls -ltr

0 comments on commit 49df420

Please sign in to comment.