Sign inSign up

dstmodders/ktools

By dstmodders

Updated about 3 hours ago

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

Image
Developer tools
0

10K+

dstmodders/ktools repository overview

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.

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

NameValueDescription
IMAGEMAGICK_VERSION7.1.2-3ImageMagick version
KTOOLS_KRANE/usr/local/bin/kranektools/krane path
KTOOLS_KTECH/usr/local/bin/ktechktools/ktech path
KTOOLS_VERSION4.5.1ktools version

Supported build arguments

NameImageDefaultDescription
IMAGEMAGICK_IMAGE_PREFIXlatest
official
-
legacy-
Sets ImageMagick base image prefix
IMAGEMAGICK_VERSIONlatest
official
7.1.2-3
6.9.13-29
Sets ImageMagick version
KTOOLS_VERSIONlatest
official
4.5.1
4.4.0
Sets ktools version

Supported architectures

ImageArchitecture(s)
latestlinux/amd64, linux/386
officiallinux/amd64, linux/386

Build

To build images locally, you can use bin/build.sh script:

# to build all images
$ ./bin/build.sh

# to build only the latest images
$ ./bin/build.sh latest

# to build only the official images
$ ./bin/build.sh official

To build images manually:

$ 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 manually 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.

Tag summary

Content type

Image

Digest

sha256:3056d70b1

Size

54.3 MB

Last updated

about 3 hours ago

docker pull dstmodders/ktools