How to Start a Dockerized codebeamer X with MySQL
Since codebeamer-x 4.2, 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-x:4.2
ADD --chown=1001:1001 https://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1.49/mysql-connector-java-5.1.49.jar /home/appuser/codebeamer/tomcat/webapps/ROOT/WEB-INF/lib/
Note: you can use the latest 8.x version from https://repo1.maven.org/maven2/mysql/mysql-connector-java/
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-x:4.2
COPY --chown=1001:1001 mysql-connector-java-5.1.49.jar /home/appuser/codebeamer/tomcat/webapps/ROOT/WEB-INF/lib/
Build Docker Image
docker build -t <name of your image> .