mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 20:47:01 +01:00
* working on debian builds again * github actions tweaks * fixed a ref in the build script * updating makefile targets to include build profile env * updates to docs and makefiles
16 lines
387 B
Bash
Executable file
16 lines
387 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
# Starts a ubuntu docker container with the source code mounted
|
|
|
|
if [ "$(basename "$(pwd)")" != "kanidm" ]; then
|
|
echo "Please run this from the root dir of the repo"
|
|
exit 1
|
|
fi
|
|
|
|
echo "Starting base ubuntu container"
|
|
echo "Repository is in ~/kanidm/"
|
|
docker run --rm -it \
|
|
-v "$(pwd):/root/kanidm/" \
|
|
--workdir "/root/kanidm/" \
|
|
ubuntu:latest "$@"
|