Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.04 KB

README.md

File metadata and controls

45 lines (31 loc) · 1.04 KB

docker-sourceknight

This repository defines the unofficial sourceknight docker image.

which are published to ghcr.io.

note - requires latest docker to be installed and available

Using Images

We have two versions of the sourceknight image:

  • root mainly used for github actions
  • rootless mainly used to compile locally

pull docker image

docker pull ghcr.io/srcdslab/docker-sourceknight:0.3.0-rootless

run docker image

docker run --rm \
	ghcr.io/srcdslab/docker-sourceknight:0.3.0-rootless \
	--help

build plugins

docker run --rm \
	-v $PWD:/app \
	ghcr.io/srcdslab/docker-sourceknight:0.3.0-rootless \
	build

building docker image

export SOURCEKNIGHT_VERSION="0.3.0"
docker build --build-arg SOURCEKNIGHT_VERSION=$SOURCEKNIGHT_VERSION -t sourceknight:$SOURCEKNIGHT_VERSION python/3.10-slim --target rootless