Skip to content

Instantly share code, notes, and snippets.

@prankkelkar
Created May 31, 2021 12:05
Show Gist options
  • Save prankkelkar/d8bdeeee77599c8283bab8df03da743b to your computer and use it in GitHub Desktop.
Save prankkelkar/d8bdeeee77599c8283bab8df03da743b to your computer and use it in GitHub Desktop.
--- Dockerfile.old 2021-05-31 08:00:51.714649000 -0400
+++ Dockerfile.new 2021-05-31 07:59:47.064144000 -0400
@@ -40,6 +40,7 @@
&& cd $SOURCE_DIR && git clone https://github.com/mysql/mysql-server.git \
&& cd mysql-server && git checkout tags/mysql-8.0.13 \
+&& sed -i '44s/dl.bintray.com\/boostorg\/release/boostorg.jfrog.io\/artifactory\/main\/release/g' cmake/boost.cmake \
##Build, configure, install
&& cmake . -DDOWNLOAD_BOOST=1 -DWITH_BOOST=. && make && make install \
@@ -64,6 +65,6 @@
ENV PATH=$PATH:/usr/local/mysql/bin
# Start MySQL Server
-CMD /usr/local/mysql/bin/mysqld --initialize --user=mysql && /usr/local/mysql/bin/mysqld_safe --user=mysql
+CMD /usr/local/mysql/bin/mysqld --initialize --user=mysql ; /usr/local/mysql/bin/mysqld_safe --user=mysql
# End of Dockerfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment