appsecco / dvja

Damn Vulnerable Java (EE) Application
MIT License
130 stars 476 forks source link

Correct package name for mysql-client in Dockerfile #4

Closed dvb-muje closed 4 years ago

dvb-muje commented 4 years ago

The Dockerfile tries to install the mysql-client package from the debian repositories. This package was renamed to mariadb-client, causing

docker-compose up

to fail with the error:


E: Package 'mysql-client' has no installation candidate
ERROR: Service 'app' failed to build: The command '/bin/sh -c apt-get install -y mysql-client' returned a non-zero code: 100

Renaming 'mysql-client' to 'mariadb-client' in Dockerfile fixes this issue.