This container image is used to build "less" from the source and run it as a container.
1.0K
GitHub Repository: https://github.com/tnk4on/less
This container image is used to build "less" from the source and run it as a container.
Original source code: https://github.com/gwsw/less.git
This release is based on the version listed in the version.c file.
$ git clone https://github.com/tnk4on/less.git
$ cd less
$ podman build -t tnk4on/less .
ENV VERSION=594$ podman run --rm tnk4on/less --version | head -n 1
less 594x (POSIX regular expressions)
$ podman run --rm -it -v .:/tmp tnk4on/less <FILENAME>
$ podman create --name less tnk4on/less
$ podman cp less:/root/usr/bin/less .
$ podman rm less
$ ./less --version |head -n 1
less 594x (POSIX regular expressions)
Note: Built with UBI by default, so RHEL or CentOS Stream may work.
less --header 1
less -h 1
Content type
Image
Digest
sha256:9b505738a…
Size
7.7 MB
Last updated
over 3 years ago
docker pull tnk4on/less