Docker hub & registry.
Written in PHP with Symfony.
THIS PROJECT IS IN ALPHA STATE
If you just want to use dunkerque, use the docker image on the docker hub.
Base
# Clone repository
git clone https://github.com/iamluc/dunkerque
# Enter directory
cd dunkerque
# Run server (Adapt file `docker-compose.yml` to your needs)
docker-compose up -d
# Generate keys (Default passphrase is `DunkerqueIsOnFire`)
docker-compose run --rm app openssl genrsa -out var/jwt/private.pem -aes256 4096
docker-compose run --rm app openssl rsa -pubout -in var/jwt/private.pem -out var/jwt/public.pem
# Install dependencies
docker-compose run --rm app composer install
# Initialize database
docker-compose run --rm app app/console doctrine:database:create --if-not-exists
docker-compose run --rm app app/console doctrine:migrations:migrate
# Create a user
docker-compose run --rm app app/console fos:user:create
# Run test suite
docker-compose run --rm app bin/run-tests