Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mozzy11 committed Oct 3, 2023
1 parent 84b7b4b commit 1535043
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ RUN set -ex; \
apt-key list > /dev/null

ENV MYSQL_MAJOR 5.7
ENV MYSQL_VERSION 5.7.37-0ubuntu0.18.04.1
ENV MYSQL_VERSION 5.7.37-1debian10

RUN echo 'deb http://repo.mysql.com/apt/debian/ bionic mysql-5.7' > /etc/apt/sources.list.d/mysql.list
RUN echo 'deb http://repo.mysql.com/apt/debian/ buster mysql-5.7' > /etc/apt/sources.list.d/mysql.list

# the "/var/lib/mysql" stuff here is because the mysql-server postinst doesn't have an explicit way to disable the mysql_install_db codepath besides having a database already "configured" (ie, stuff in /var/lib/mysql/mysql)
# also, we set debconf keys to make APT a little quieter
Expand Down

0 comments on commit 1535043

Please sign in to comment.