Skip to content

Commit

Permalink
Optimized
Browse files Browse the repository at this point in the history
  • Loading branch information
thomsen85 committed Oct 2, 2023
1 parent 6f10150 commit c2013fa
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion compose/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ ENV PYTHONUNBUFFERED 1
WORKDIR /usr/src

RUN apt-get update \
&& apt-get upgrade -y \
# dependencies for building Python packages
&& apt-get install -y build-essential \
# mysqlclient dependencies
Expand Down
1 change: 0 additions & 1 deletion compose/wait-for-mysql
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ try:
db=MySQLdb.connect(host=db_host,user=db_user,
passwd=db_password,db=db_name)
except MySQLdb._exceptions.OperationalError as e:
print(e)
sys.exit(-1)
sys.exit(0)
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3.8"

services:
db:
image: mysql:8.1
image: mysql:8.0
container_name: db
platform: linux/amd64
restart: always
Expand Down

0 comments on commit c2013fa

Please sign in to comment.