-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDockerfile
More file actions
21 lines (16 loc) · 854 Bytes
/
Dockerfile
File metadata and controls
21 lines (16 loc) · 854 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# LOCATION: ~/Projects/sbom/aisbom-cli/Dockerfile
# Use a slim Python image to keep the download fast (Debian-based)
FROM python:3.11-slim
# Metadata for GitHub Marketplace
LABEL "com.github.actions.name"="AIsbom Security Scanner"
LABEL "com.github.actions.description"="Deep binary introspection for AI/ML models to detect Pickle bombs and malware."
LABEL "com.github.actions.icon"="shield"
LABEL "com.github.actions.color"="purple"
# Install git (sometimes needed by pip or dependencies)
RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
# Install your tool directly from PyPI.
# This ensures the Action runs the stable version you just published.
RUN pip install --no-cache-dir aisbom-cli
# Set the entrypoint. When GitHub runs this Action,
# it executes: aisbom <arguments provided in action.yml>
ENTRYPOINT ["aisbom"]