Skip to content

Latest commit

 

History

History
121 lines (91 loc) · 6.46 KB

DOCKERHUB.md

File metadata and controls

121 lines (91 loc) · 6.46 KB

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-39 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-39
6.9.13-17
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.