Skip to content

Commit

Permalink
Revert "🔨 switch mysql docker images to debian to work around microdn…
Browse files Browse the repository at this point in the history
…f issues"

This reverts commit 9d5e731.
  • Loading branch information
danyx23 committed Jan 19, 2024
1 parent d906392 commit 4dd53b9
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
7 changes: 4 additions & 3 deletions devTools/docker/mysql-init-docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
FROM mysql:8.0-debian
FROM mysql/mysql-server:latest

RUN apt-get -y update \
&& apt-get install -y \
RUN microdnf -y update \
&& microdnf install -y \
libpwquality \
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:8.0-debian
image: mysql/mysql-server:latest
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:8.0-debian
image: mysql/mysql-server:latest
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:8.0-debian
image: mysql/mysql-server:latest
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:8.0-debian
image: mysql/mysql-server:latest
command: --default-authentication-plugin=mysql_native_password
restart: always
volumes:
Expand Down

0 comments on commit 4dd53b9

Please sign in to comment.