Skip to content

Commit

Permalink
🔨 switch mysql docker images to debian to work around microdnf issues
Browse files Browse the repository at this point in the history
  • Loading branch information
danyx23 committed Jan 18, 2024
1 parent 948c339 commit 9d5e731
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
7 changes: 3 additions & 4 deletions devTools/docker/mysql-init-docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
FROM mysql/mysql-server:latest
FROM mysql:8.0-debian

RUN microdnf -y update \
&& microdnf install -y \
libpwquality \
RUN apt-get -y update \
&& apt-get install -y \
curl \
rsync \
unzip \
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.dbtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "3.7"
services:
# Stock mysql database. Root password is hardcoded for now
db:
image: mysql/mysql-server:latest
image: mysql:8.0-debian
command: --default-authentication-plugin=mysql_native_password --log-bin-trust-function-creators=ON
restart: always
volumes:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.devcontainer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ services:

# Stock mysql database. Used for both grapher and wordpress databases. Root password is hardcoded for now
db:
image: mysql/mysql-server:latest
image: mysql:8.0-debian
command: --default-authentication-plugin=mysql_native_password
restart: always
volumes:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ version: "3.7"
services:
# Stock mysql database. Used for both grapher and wordpress databases. Root password is hardcoded for now
db:
image: mysql/mysql-server:latest
image: mysql:8.0-debian
command: --default-authentication-plugin=mysql_native_password
restart: always
volumes:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.grapher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ version: "3.7"
services:
# Stock mysql database. Root password is hardcoded for now
db:
image: mysql/mysql-server:latest
image: mysql:8.0-debian
command: --default-authentication-plugin=mysql_native_password
restart: always
volumes:
Expand Down

0 comments on commit 9d5e731

Please sign in to comment.