Skip to content
Sam Gerené edited this page Dec 6, 2025 · 12 revisions

Create and Push attested images

The docker-build-attested.sh script is used to create and push attested images to Docker hub.

cdp4-database-community-edition

Run the image

docker run -e POSTGRES_PASSWORD=postgres -p 5432:5432 -it -d --name cdp4-database-community-edition --net cdp4 stariongroup/cdp4-database-community-edition:5.0.0 -c max_locks_per_transaction=1024

This image is based on the official PostgreSQL image 18.1-alpine3.23

cdp4-test-database-community-edition

The cdp4-test-database-community-edition docker image is the image used to run the ECSS-E-TM-10-25 Annex C integration tests. This image is based on the official PostgreSQL image 18.1-alpine3.23

Run the image, note that the data is stored to a temporary file system for improved test performance

docker run -e POSTGRES_PASSWORD=postgres -p 5432:5432 --tmpfs /var/lib/postgresql/18/docker:rw,size=1g,mode=700 -it -d --name comet-db --network cdp4-comet stariongroup/cdp4-test-database-community-edition:5.0.0 -c max_locks_per_transaction=2048 -c statement_timeout=3000

Once the database and webservices docker image are running, the test Annex C3 zip archive needs to be posted.

curl --form file=@"Data.zip" http://localhost:5000/Data/Exchange

Once the Annex C3 archive is posted and the test data is loaded the integration test suite can be executed