-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed installation of mysql client instead of mariadb for simplerisk-…
…minimal
- Loading branch information
Showing
3 changed files
with
21 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,12 @@ FROM php:$image-apache | |
LABEL maintainer="Simplerisk <[email protected]>" | ||
WORKDIR /var/www | ||
# Add the apt config package | ||
RUN apt-get update && \ | ||
apt-get install -y gnupg2 && \ | ||
apt-key adv --keyserver pgp.mit.edu --recv-keys A8D3785C && \ | ||
echo "deb http://repo.mysql.com/apt/debian bookworm mysql-8.0" > /etc/apt/sources.list.d/mysql.list | ||
# Installing apt dependencies | ||
RUN apt-get update && \\ | ||
|
@@ -33,7 +39,7 @@ RUN apt-get update && \\ | |
libzip-dev \\ | ||
supervisor \\ | ||
cron \\ | ||
default-mysql-client && \\ | ||
mysql-community-client && \\ | ||
rm -rf /var/lib/apt/lists/* | ||
# Configure all PHP extensions | ||
RUN docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu && \\ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,12 @@ FROM php:8.1-apache | |
LABEL maintainer="Simplerisk <[email protected]>" | ||
|
||
WORKDIR /var/www | ||
|
||
# Add the apt config package | ||
RUN apt-get update && \ | ||
apt-get install -y gnupg2 && \ | ||
apt-key adv --keyserver pgp.mit.edu --recv-keys A8D3785C && \ | ||
echo "deb http://repo.mysql.com/apt/debian bookworm mysql-8.0" > /etc/apt/sources.list.d/mysql.list | ||
|
||
# Installing apt dependencies | ||
RUN apt-get update && \ | ||
|
@@ -17,7 +23,7 @@ RUN apt-get update && \ | |
libzip-dev \ | ||
supervisor \ | ||
cron \ | ||
default-mysql-client && \ | ||
mysql-community-client && \ | ||
rm -rf /var/lib/apt/lists/* | ||
# Configure all PHP extensions | ||
RUN docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu && \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,12 @@ FROM php:8.3-apache | |
LABEL maintainer="Simplerisk <[email protected]>" | ||
|
||
WORKDIR /var/www | ||
|
||
# Add the apt config package | ||
RUN apt-get update && \ | ||
apt-get install -y gnupg2 && \ | ||
apt-key adv --keyserver pgp.mit.edu --recv-keys A8D3785C && \ | ||
echo "deb http://repo.mysql.com/apt/debian bookworm mysql-8.0" > /etc/apt/sources.list.d/mysql.list | ||
|
||
# Installing apt dependencies | ||
RUN apt-get update && \ | ||
|
@@ -17,7 +23,7 @@ RUN apt-get update && \ | |
libzip-dev \ | ||
supervisor \ | ||
cron \ | ||
default-mysql-client && \ | ||
mysql-community-client && \ | ||
rm -rf /var/lib/apt/lists/* | ||
# Configure all PHP extensions | ||
RUN docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu && \ | ||
|