mirror of
https://github.com/TokTok/c-toxcore
synced 2026-03-31 04:55:40 +00:00
16 lines
323 B
Bash
Executable File
16 lines
323 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -eux
|
|
|
|
BUILD=codeql
|
|
|
|
# Ensure the sources image is built
|
|
other/docker/sources/build.sh
|
|
|
|
# Build the codeql image
|
|
docker build -t "toxchat/c-toxcore:$BUILD" -f "other/docker/$BUILD/$BUILD.Dockerfile" .
|
|
|
|
# Run the container
|
|
echo "Running CodeQL analysis..."
|
|
docker run --rm "toxchat/c-toxcore:$BUILD"
|