Skip to content

srcdslab/docker-sourceknight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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