For full test, we cannot have
ERROR codeql database analyze failed: error="exec:
\"codeql\": executable file not found in $PATH" job="{MirvaRequestID:0
QueryPackId:54674 QueryLanguage:cpp ORepo:{Owner:psycopg Repo:psycopg2}}"
For linux/arm64, use a Dockerfile that:
- uses ubuntu 22.04 base image
- adds the 1.17 version of the codeql bundle
- extracts the bundle
- adds a recent version of the JRE
- extracts it
- sets the CODEQL_JAVA_HOME environment variable to point to the JRE
The instructions are updated
78 lines
1.5 KiB
YAML
78 lines
1.5 KiB
YAML
version: '3.8'
|
|
|
|
services:
|
|
postgres:
|
|
image: postgres:16.3-bookworm
|
|
container_name: postgres
|
|
environment:
|
|
POSTGRES_USER: exampleuser
|
|
POSTGRES_PASSWORD: examplepass
|
|
POSTGRES_DB: exampledb
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
- ./postgres-init-scripts:/docker-entrypoint-initdb.d
|
|
ports:
|
|
- "5432:5432" # Exposing PostgreSQL to the host
|
|
expose:
|
|
- "5432"
|
|
networks:
|
|
- backend
|
|
|
|
|
|
rabbitmq:
|
|
image: rabbitmq:3.13-management
|
|
container_name: rabbitmq
|
|
environment:
|
|
RABBITMQ_DEFAULT_USER: user
|
|
RABBITMQ_DEFAULT_PASS: password
|
|
expose:
|
|
- "5672"
|
|
- "15672"
|
|
ports:
|
|
- "15672:15672"
|
|
networks:
|
|
- backend
|
|
|
|
|
|
server:
|
|
image: server-image
|
|
container_name: server
|
|
environment:
|
|
- MRVA_SERVER_ROOT=/mrva/mrvacommander/cmd/server
|
|
command: sh -c "tail -f /dev/null"
|
|
ports:
|
|
- "8080:8080"
|
|
volumes:
|
|
- /Users/hohn/work-gh/mrva/mrvacommander:/mrva/mrvacommander
|
|
depends_on:
|
|
- postgres
|
|
- rabbitmq
|
|
networks:
|
|
- backend
|
|
|
|
minio:
|
|
image: minio/minio:RELEASE.2024-06-11T03-13-30Z
|
|
container_name: minio
|
|
ports:
|
|
- "9000:9000"
|
|
- "9001:9001"
|
|
environment:
|
|
MINIO_ROOT_USER: user
|
|
MINIO_ROOT_PASSWORD: musty-coke
|
|
command: server /data --console-address ":9001"
|
|
volumes:
|
|
- minio-data:/data
|
|
|
|
volumes:
|
|
minio-data:
|
|
postgres_data:
|
|
driver: local
|
|
|
|
networks:
|
|
backend:
|
|
driver: bridge
|
|
|
|
|
|
|
|
|