dummy_scriptThis Container is intended for small testing purposes only.
It includes a single custom script (dummy_script), that echos content of a file (running cat) and wraps it in a custom header and footer:
#!/usr/bin/env bash
echo '======================'
echo '| file content |'
echo '======================'
cat ${1}
echo '======================'
For the initial building setup, please refer to the accompanying github repository dummy_script_build.
To use the container, run for example:
podman run docker.io/khench/dummy_script:v0.2 dummy_script /usr/local/bin/dummy_script
This should return:
======================
| file content |
======================
#!/usr/bin/env bash
echo '======================'
echo '| file content |'
echo '======================'
cat ${1}
echo '======================'
======================
Content type
-
Digest
sha256:5c9e348ed…
Size
70 MB
Last updated
about 4 years ago
docker pull khench/dummy_script:v0.2