How to Start a Dockerized codebeamer with MySQL
Since codebeamer 21.06-SP6 the MySQL driver is not part of the docker image anymore, you need to change your deploy process.
Create a new docker image downloading connector from web
Create a dockerfile with the following content:
FROM intland/codebeamer:21.09-SP6
ADD --chown=1001:1001 https://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.25/mysql-connector-java-8.0.25.jar /home/appuser/codebeamer/tomcat/webapps/ROOT/WEB-INF/lib/
Create a new docker image used local file
Create a dockerfile with the following content, and copy and paste the .jar file next to it:
FROM intland/codebeamer:21.09-SP6
COPY --chown=1001:1001 mysql-connector-java-8.0.25.jar /home/appuser/codebeamer/tomcat/webapps/ROOT/WEB-INF/lib/
Build docker image
docker build -t <name of your image> .