/slackware-container

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

Primary LanguageShellBSD 2-Clause "Simplified" LicenseBSD-2-Clause

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.sh

For 'current':

sudo RELEASE=slackware64-current ./mktar.sh

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

Open an issue before starting a pull request. 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.