Sign inSign up

khench/dummy_script

By khench

•Updated about 4 years ago

dummy container for testing purposes

0

104

khench/dummy_script repository overview

⁠Container repository for dummy_script

This 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⁠.

⁠usage

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 '======================'
======================

Tag summary

Content type

-

Digest

sha256:5c9e348ed…

Size

70 MB

Last updated

about 4 years ago

docker pull khench/dummy_script:v0.2