mirror of
https://github.com/clearlinux/dockerfiles.git
synced 2026-06-29 17:17:05 +00:00
ed5e457978
Signed-off-by: Qi Zheng <qi.zheng@intel.com>
perl
This provides a Clear Linux* perl instance.
Build
docker build -t clearlinux/perl .
Or just pull it from Dockerhub
docker pull clearlinux/perl
Test perl version
docker run --rm clearlinux/perl perl --version
Run a single Perl script
docker run -it --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp clearlinux/perl perl your-daemon-or-script.pl
Details of how-to
Please refer to the docker official golang image page.
Extra Build ARGs
swupd_argsSpecifies SWUPD flags
Default build args in Docker are on: https://docs.docker.com/engine/reference/builder/#arg