Skip to content

Dockerized modding tools by nsimplex for the Klei Entertainment's game Don't Starve.

License

Notifications You must be signed in to change notification settings

dstmodders/docker-ktools

Repository files navigation

docker-ktools

Debian Size Alpine Size CI Build

Note

This repository uses a fork dstmodders/ktools instead of the original nsimplex/ktools. All tags prefixed with "official" point to official releases. See fork releases to learn more.

Supported tags and respective Dockerfile links

Overview

Docker images for modding tools of Klei Entertainment's game Don't Starve.

Usage

Fork releases (recommended):

$ docker pull dstmodders/ktools:latest
# or
$ docker pull ghcr.io/dstmodders/ktools:latest

Or you can pick one of the official releases:

$ docker pull dstmodders/ktools:official
# or
$ docker pull ghcr.io/dstmodders/ktools:official

See tags for a list of all available versions.

Shell/Bash (Linux & macOS)

$ docker run --rm -v "$(pwd):/data/" dstmodders/ktools ktech --version

CMD (Windows)

> docker run --rm -v "%CD%:/data/" dstmodders/ktools ktech --version

PowerShell (Windows)

PS:\> docker run --rm -v "${PWD}:/data/" dstmodders/ktools ktech --version

Supported environment variables

Name Value Description
IMAGEMAGICK_VERSION 7.1.1-33 ImageMagick version
KTOOLS_KRANE /usr/local/bin/krane ktools/krane path
KTOOLS_KTECH /usr/local/bin/ktech ktools/ktech path
KTOOLS_VERSION 4.5.1 ktools version

Supported build arguments

Name Image Default Description
IMAGEMAGICK_IMAGE_PREFIX latest
official
-
legacy-
Sets ImageMagick base image prefix
IMAGEMAGICK_VERSION latest
official
7.1.1-33
6.9.13-11
Sets ImageMagick version
KTOOLS_VERSION latest
official
4.5.1
4.4.0
Sets ktools version

Supported architectures

Image Architecture(s)
latest linux/amd64, linux/386
official linux/amd64, linux/386

Build

To build images locally:

$ docker build --tag='dstmodders/ktools:alpine' ./latest/alpine/
$ docker build --tag='dstmodders/ktools:debian' ./latest/debian/
$ docker build --tag='dstmodders/ktools:official-alpine' ./official/alpine/
$ docker build --tag='dstmodders/ktools:official-debian' ./official/debian/

Respectively, to build multi-platform images using buildx:

$ docker buildx build --platform='linux/amd64,linux/386' --tag='dstmodders/ktools:alpine' ./latest/alpine/
$ docker buildx build --platform='linux/amd64,linux/386' --tag='dstmodders/ktools:debian' ./latest/debian/
$ docker buildx build --platform='linux/amd64,linux/386' --tag='dstmodders/ktools:official-alpine' ./official/alpine/
$ docker buildx build --platform='linux/amd64,linux/386' --tag='dstmodders/ktools:official-debian' ./official/debian/

License

Released under the MIT License.