Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions base/Dockerfile.model
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ COPY config_files/docker_updt_ps_domains.php /tmp/
COPY config_files/defines_custom.inc.php /tmp/
RUN chown www-data:www-data /tmp/defines_custom.inc.php

# Force mysql client to disable SSL only in dev mode
RUN if [ "$PS_DEV_MODE" = "1" ]; then \
mkdir -p /etc/mysql/conf.d \
&& echo "[client]\nssl=0\n" > /etc/mysql/conf.d/disable-ssl.cnf; \
fi

# Apache configuration
RUN if [ -x "$(command -v apache2-foreground)" ]; then a2enmod rewrite; fi

Expand Down
6 changes: 6 additions & 0 deletions base/images/7.1-apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ COPY config_files/docker_updt_ps_domains.php /tmp/
COPY config_files/defines_custom.inc.php /tmp/
RUN chown www-data:www-data /tmp/defines_custom.inc.php

# Force mysql client to disable SSL only in dev mode
RUN if [ "$PS_DEV_MODE" = "1" ]; then \
mkdir -p /etc/mysql/conf.d \
&& echo "[client]\nssl=0\n" > /etc/mysql/conf.d/disable-ssl.cnf; \
fi

# Apache configuration
RUN if [ -x "$(command -v apache2-foreground)" ]; then a2enmod rewrite; fi

Expand Down
6 changes: 6 additions & 0 deletions base/images/7.1-fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ COPY config_files/docker_updt_ps_domains.php /tmp/
COPY config_files/defines_custom.inc.php /tmp/
RUN chown www-data:www-data /tmp/defines_custom.inc.php

# Force mysql client to disable SSL only in dev mode
RUN if [ "$PS_DEV_MODE" = "1" ]; then \
mkdir -p /etc/mysql/conf.d \
&& echo "[client]\nssl=0\n" > /etc/mysql/conf.d/disable-ssl.cnf; \
fi

# Apache configuration
RUN if [ -x "$(command -v apache2-foreground)" ]; then a2enmod rewrite; fi

Expand Down
6 changes: 6 additions & 0 deletions base/images/7.2-apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ COPY config_files/docker_updt_ps_domains.php /tmp/
COPY config_files/defines_custom.inc.php /tmp/
RUN chown www-data:www-data /tmp/defines_custom.inc.php

# Force mysql client to disable SSL only in dev mode
RUN if [ "$PS_DEV_MODE" = "1" ]; then \
mkdir -p /etc/mysql/conf.d \
&& echo "[client]\nssl=0\n" > /etc/mysql/conf.d/disable-ssl.cnf; \
fi

# Apache configuration
RUN if [ -x "$(command -v apache2-foreground)" ]; then a2enmod rewrite; fi

Expand Down
6 changes: 6 additions & 0 deletions base/images/7.2-fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ COPY config_files/docker_updt_ps_domains.php /tmp/
COPY config_files/defines_custom.inc.php /tmp/
RUN chown www-data:www-data /tmp/defines_custom.inc.php

# Force mysql client to disable SSL only in dev mode
RUN if [ "$PS_DEV_MODE" = "1" ]; then \
mkdir -p /etc/mysql/conf.d \
&& echo "[client]\nssl=0\n" > /etc/mysql/conf.d/disable-ssl.cnf; \
fi

# Apache configuration
RUN if [ -x "$(command -v apache2-foreground)" ]; then a2enmod rewrite; fi

Expand Down
6 changes: 6 additions & 0 deletions base/images/7.3-apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ COPY config_files/docker_updt_ps_domains.php /tmp/
COPY config_files/defines_custom.inc.php /tmp/
RUN chown www-data:www-data /tmp/defines_custom.inc.php

# Force mysql client to disable SSL only in dev mode
RUN if [ "$PS_DEV_MODE" = "1" ]; then \
mkdir -p /etc/mysql/conf.d \
&& echo "[client]\nssl=0\n" > /etc/mysql/conf.d/disable-ssl.cnf; \
fi

# Apache configuration
RUN if [ -x "$(command -v apache2-foreground)" ]; then a2enmod rewrite; fi

Expand Down
6 changes: 6 additions & 0 deletions base/images/7.3-fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ COPY config_files/docker_updt_ps_domains.php /tmp/
COPY config_files/defines_custom.inc.php /tmp/
RUN chown www-data:www-data /tmp/defines_custom.inc.php

# Force mysql client to disable SSL only in dev mode
RUN if [ "$PS_DEV_MODE" = "1" ]; then \
mkdir -p /etc/mysql/conf.d \
&& echo "[client]\nssl=0\n" > /etc/mysql/conf.d/disable-ssl.cnf; \
fi

# Apache configuration
RUN if [ -x "$(command -v apache2-foreground)" ]; then a2enmod rewrite; fi

Expand Down
6 changes: 6 additions & 0 deletions base/images/7.4-apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ COPY config_files/docker_updt_ps_domains.php /tmp/
COPY config_files/defines_custom.inc.php /tmp/
RUN chown www-data:www-data /tmp/defines_custom.inc.php

# Force mysql client to disable SSL only in dev mode
RUN if [ "$PS_DEV_MODE" = "1" ]; then \
mkdir -p /etc/mysql/conf.d \
&& echo "[client]\nssl=0\n" > /etc/mysql/conf.d/disable-ssl.cnf; \
fi

# Apache configuration
RUN if [ -x "$(command -v apache2-foreground)" ]; then a2enmod rewrite; fi

Expand Down
6 changes: 6 additions & 0 deletions base/images/7.4-fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ COPY config_files/docker_updt_ps_domains.php /tmp/
COPY config_files/defines_custom.inc.php /tmp/
RUN chown www-data:www-data /tmp/defines_custom.inc.php

# Force mysql client to disable SSL only in dev mode
RUN if [ "$PS_DEV_MODE" = "1" ]; then \
mkdir -p /etc/mysql/conf.d \
&& echo "[client]\nssl=0\n" > /etc/mysql/conf.d/disable-ssl.cnf; \
fi

# Apache configuration
RUN if [ -x "$(command -v apache2-foreground)" ]; then a2enmod rewrite; fi

Expand Down
6 changes: 6 additions & 0 deletions base/images/8.0-apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ COPY config_files/docker_updt_ps_domains.php /tmp/
COPY config_files/defines_custom.inc.php /tmp/
RUN chown www-data:www-data /tmp/defines_custom.inc.php

# Force mysql client to disable SSL only in dev mode
RUN if [ "$PS_DEV_MODE" = "1" ]; then \
mkdir -p /etc/mysql/conf.d \
&& echo "[client]\nssl=0\n" > /etc/mysql/conf.d/disable-ssl.cnf; \
fi

# Apache configuration
RUN if [ -x "$(command -v apache2-foreground)" ]; then a2enmod rewrite; fi

Expand Down
6 changes: 6 additions & 0 deletions base/images/8.0-fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ COPY config_files/docker_updt_ps_domains.php /tmp/
COPY config_files/defines_custom.inc.php /tmp/
RUN chown www-data:www-data /tmp/defines_custom.inc.php

# Force mysql client to disable SSL only in dev mode
RUN if [ "$PS_DEV_MODE" = "1" ]; then \
mkdir -p /etc/mysql/conf.d \
&& echo "[client]\nssl=0\n" > /etc/mysql/conf.d/disable-ssl.cnf; \
fi

# Apache configuration
RUN if [ -x "$(command -v apache2-foreground)" ]; then a2enmod rewrite; fi

Expand Down
6 changes: 6 additions & 0 deletions base/images/8.1-apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ COPY config_files/docker_updt_ps_domains.php /tmp/
COPY config_files/defines_custom.inc.php /tmp/
RUN chown www-data:www-data /tmp/defines_custom.inc.php

# Force mysql client to disable SSL only in dev mode
RUN if [ "$PS_DEV_MODE" = "1" ]; then \
mkdir -p /etc/mysql/conf.d \
&& echo "[client]\nssl=0\n" > /etc/mysql/conf.d/disable-ssl.cnf; \
fi

# Apache configuration
RUN if [ -x "$(command -v apache2-foreground)" ]; then a2enmod rewrite; fi

Expand Down
6 changes: 6 additions & 0 deletions base/images/8.1-fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ COPY config_files/docker_updt_ps_domains.php /tmp/
COPY config_files/defines_custom.inc.php /tmp/
RUN chown www-data:www-data /tmp/defines_custom.inc.php

# Force mysql client to disable SSL only in dev mode
RUN if [ "$PS_DEV_MODE" = "1" ]; then \
mkdir -p /etc/mysql/conf.d \
&& echo "[client]\nssl=0\n" > /etc/mysql/conf.d/disable-ssl.cnf; \
fi

# Apache configuration
RUN if [ -x "$(command -v apache2-foreground)" ]; then a2enmod rewrite; fi

Expand Down
6 changes: 6 additions & 0 deletions base/images/8.2-apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ COPY config_files/docker_updt_ps_domains.php /tmp/
COPY config_files/defines_custom.inc.php /tmp/
RUN chown www-data:www-data /tmp/defines_custom.inc.php

# Force mysql client to disable SSL only in dev mode
RUN if [ "$PS_DEV_MODE" = "1" ]; then \
mkdir -p /etc/mysql/conf.d \
&& echo "[client]\nssl=0\n" > /etc/mysql/conf.d/disable-ssl.cnf; \
fi

# Apache configuration
RUN if [ -x "$(command -v apache2-foreground)" ]; then a2enmod rewrite; fi

Expand Down
6 changes: 6 additions & 0 deletions base/images/8.2-fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ COPY config_files/docker_updt_ps_domains.php /tmp/
COPY config_files/defines_custom.inc.php /tmp/
RUN chown www-data:www-data /tmp/defines_custom.inc.php

# Force mysql client to disable SSL only in dev mode
RUN if [ "$PS_DEV_MODE" = "1" ]; then \
mkdir -p /etc/mysql/conf.d \
&& echo "[client]\nssl=0\n" > /etc/mysql/conf.d/disable-ssl.cnf; \
fi

# Apache configuration
RUN if [ -x "$(command -v apache2-foreground)" ]; then a2enmod rewrite; fi

Expand Down
6 changes: 6 additions & 0 deletions base/images/8.3-apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ COPY config_files/docker_updt_ps_domains.php /tmp/
COPY config_files/defines_custom.inc.php /tmp/
RUN chown www-data:www-data /tmp/defines_custom.inc.php

# Force mysql client to disable SSL only in dev mode
RUN if [ "$PS_DEV_MODE" = "1" ]; then \
mkdir -p /etc/mysql/conf.d \
&& echo "[client]\nssl=0\n" > /etc/mysql/conf.d/disable-ssl.cnf; \
fi

# Apache configuration
RUN if [ -x "$(command -v apache2-foreground)" ]; then a2enmod rewrite; fi

Expand Down
6 changes: 6 additions & 0 deletions base/images/8.3-fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ COPY config_files/docker_updt_ps_domains.php /tmp/
COPY config_files/defines_custom.inc.php /tmp/
RUN chown www-data:www-data /tmp/defines_custom.inc.php

# Force mysql client to disable SSL only in dev mode
RUN if [ "$PS_DEV_MODE" = "1" ]; then \
mkdir -p /etc/mysql/conf.d \
&& echo "[client]\nssl=0\n" > /etc/mysql/conf.d/disable-ssl.cnf; \
fi

# Apache configuration
RUN if [ -x "$(command -v apache2-foreground)" ]; then a2enmod rewrite; fi

Expand Down
6 changes: 6 additions & 0 deletions base/images/8.4-apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ COPY config_files/docker_updt_ps_domains.php /tmp/
COPY config_files/defines_custom.inc.php /tmp/
RUN chown www-data:www-data /tmp/defines_custom.inc.php

# Force mysql client to disable SSL only in dev mode
RUN if [ "$PS_DEV_MODE" = "1" ]; then \
mkdir -p /etc/mysql/conf.d \
&& echo "[client]\nssl=0\n" > /etc/mysql/conf.d/disable-ssl.cnf; \
fi

# Apache configuration
RUN if [ -x "$(command -v apache2-foreground)" ]; then a2enmod rewrite; fi

Expand Down
6 changes: 6 additions & 0 deletions base/images/8.4-fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ COPY config_files/docker_updt_ps_domains.php /tmp/
COPY config_files/defines_custom.inc.php /tmp/
RUN chown www-data:www-data /tmp/defines_custom.inc.php

# Force mysql client to disable SSL only in dev mode
RUN if [ "$PS_DEV_MODE" = "1" ]; then \
mkdir -p /etc/mysql/conf.d \
&& echo "[client]\nssl=0\n" > /etc/mysql/conf.d/disable-ssl.cnf; \
fi

# Apache configuration
RUN if [ -x "$(command -v apache2-foreground)" ]; then a2enmod rewrite; fi

Expand Down