-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathDockerfile.custom
More file actions
31 lines (27 loc) · 928 Bytes
/
Dockerfile.custom
File metadata and controls
31 lines (27 loc) · 928 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Dockerfile.custom
# version: 24.11.1
#
# Riverbed SteelScript, https://github.com/riverbed/steelscript
#
# Usage
#
# # Build the SteelScript Optimized image
#
# docker build --tag steelscript.workload:latest -f Dockerfile.workload .
#
# # Build your SteelScript custom image
#
# docker build --tag steelscript.your_custom_workload -f Dockerfile.custom .
#
# # Run
#
# docker run --rm steelscript.your_custom_workload:latest python your_script.py
FROM steelscript.workload:latest
LABEL org.opencontainers.image.authors="Riverbed Community"
LABEL org.opencontainers.image.source="https://github.com/riverbed/steelscript"
LABEL org.opencontainers.image.title="SteelScript - custom workload"
LABEL org.opencontainers.image.version="24.11.1"
# Copy local script to the steelscript workdir (default: /steelscript)
COPY *.py .
# TODO: set the name of your script
CMD ["python", "your_script.py"]