andy5995 / slackware-container

Minimal rootfs creation for Slackware Linux (ideal for docker container images)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker Image CI

slackware-container

Unofficial build scripts for a slackware container image

Note

This repository was forked from vbatts/slackware-container at fork-point.

The image is pushed to Docker Hub at andy5995/slackware.

This is a template repository. If you create a repo from this template and want to push directly to your Docker Hub account, you'll need to follow the instructions for creating an access token and update .github/workflows/docker.yml

Pull

To pull the image without building:

docker pull andy5995/slackware:15.0

To run the image, see the various options in the Docker documentation.

Podman

See the podman instructions if you use podman instead of docker.-

Build

Currently, using the installer bootstrap, the included mktar.sh script can create an ultra-minimal slackware filesystem. (does not even include pkgtools)

Note: sudo is required because the script uses chroot and downloads files into /tmp.

To build the latest stable version (15.0):

sudo ./mktar

For 'current':

sudo RELEASE=slackware64-current ./mktar

A tar file will be created which contains the Slackware filesystem. To create the docker image, use:

 docker build --build-arg RELEASE=<release> -t <name:tag> .

Related Projects

Contributing

Please use the GitHub flow. Individual pull requests should only contain related changes. Making many unrelated changes in one PR will often cause a delay in having it reviewed and merged.

About

Minimal rootfs creation for Slackware Linux (ideal for docker container images)

License:BSD 2-Clause "Simplified" License


Languages

Language:Shell 97.7%Language:Dockerfile 2.3%