Skip to content

Commit

Permalink
add --link to copy instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-sainthillier committed Dec 11, 2024
1 parent a38b984 commit 8ab980d
Show file tree
Hide file tree
Showing 19 changed files with 106 additions and 106 deletions.
12 changes: 6 additions & 6 deletions 5.6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ RUN apt-get update -qq && \

# PHP Extensions
RUN docker-php-ext-install -j$(nproc) opcache pdo_mysql
COPY conf/php.ini /usr/local/etc/php/conf.d/app.ini
COPY --link conf/php.ini /usr/local/etc/php/conf.d/app.ini

# Apache
COPY errors /errors
COPY health.php /health/index.php
COPY conf/vhost.conf /etc/apache2/sites-available/000-default.conf
COPY conf/apache.conf /etc/apache2/conf-available/z-app.conf
COPY index.php /app/index.php
COPY --link errors /errors
COPY --link health.php /health/index.php
COPY --link conf/vhost.conf /etc/apache2/sites-available/000-default.conf
COPY --link conf/apache.conf /etc/apache2/conf-available/z-app.conf
COPY --link index.php /app/index.php

RUN a2enmod rewrite remoteip && \
a2enconf z-app
12 changes: 6 additions & 6 deletions 7.1-symfony/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ RUN apt-get update -qq && \
# PHP Extensions
RUN docker-php-ext-configure zip --with-libzip && \
docker-php-ext-install -j$(nproc) intl opcache pdo_mysql zip
COPY conf/php.ini /usr/local/etc/php/conf.d/app.ini
COPY --link conf/php.ini /usr/local/etc/php/conf.d/app.ini

# Apache
COPY errors /errors
COPY health.php /health/index.php
COPY conf/vhost.conf /etc/apache2/sites-available/000-default.conf
COPY conf/apache.conf /etc/apache2/conf-available/z-app.conf
COPY index.php /app/index.php
COPY --link errors /errors
COPY --link health.php /health/index.php
COPY --link conf/vhost.conf /etc/apache2/sites-available/000-default.conf
COPY --link conf/apache.conf /etc/apache2/conf-available/z-app.conf
COPY --link index.php /app/index.php

RUN a2enmod rewrite remoteip && \
a2enconf z-app
12 changes: 6 additions & 6 deletions 7.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ RUN apt-get update -qq && \

# PHP Extensions
RUN docker-php-ext-install -j$(nproc) opcache pdo_mysql
COPY conf/php.ini /usr/local/etc/php/conf.d/app.ini
COPY --link conf/php.ini /usr/local/etc/php/conf.d/app.ini

# Apache
COPY errors /errors
COPY health.php /health/index.php
COPY conf/vhost.conf /etc/apache2/sites-available/000-default.conf
COPY conf/apache.conf /etc/apache2/conf-available/z-app.conf
COPY index.php /app/index.php
COPY --link errors /errors
COPY --link health.php /health/index.php
COPY --link conf/vhost.conf /etc/apache2/sites-available/000-default.conf
COPY --link conf/apache.conf /etc/apache2/conf-available/z-app.conf
COPY --link index.php /app/index.php

RUN a2enmod rewrite remoteip && \
a2enconf z-app
12 changes: 6 additions & 6 deletions 7.2-symfony/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ RUN apt-get update -qq && \
# PHP Extensions
RUN docker-php-ext-configure zip --with-libzip && \
docker-php-ext-install -j$(nproc) intl opcache pdo_mysql zip
COPY conf/php.ini /usr/local/etc/php/conf.d/app.ini
COPY --link conf/php.ini /usr/local/etc/php/conf.d/app.ini

# Apache
COPY errors /errors
COPY health.php /health/index.php
COPY conf/vhost.conf /etc/apache2/sites-available/000-default.conf
COPY conf/apache.conf /etc/apache2/conf-available/z-app.conf
COPY index.php /app/index.php
COPY --link errors /errors
COPY --link health.php /health/index.php
COPY --link conf/vhost.conf /etc/apache2/sites-available/000-default.conf
COPY --link conf/apache.conf /etc/apache2/conf-available/z-app.conf
COPY --link index.php /app/index.php

RUN a2enmod rewrite remoteip && \
a2enconf z-app
12 changes: 6 additions & 6 deletions 7.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ RUN apt-get update -qq && \

# PHP Extensions
RUN docker-php-ext-install -j$(nproc) opcache pdo_mysql
COPY conf/php.ini /usr/local/etc/php/conf.d/app.ini
COPY --link conf/php.ini /usr/local/etc/php/conf.d/app.ini

# Apache
COPY errors /errors
COPY health.php /health/index.php
COPY conf/vhost.conf /etc/apache2/sites-available/000-default.conf
COPY conf/apache.conf /etc/apache2/conf-available/z-app.conf
COPY index.php /app/index.php
COPY --link errors /errors
COPY --link health.php /health/index.php
COPY --link conf/vhost.conf /etc/apache2/sites-available/000-default.conf
COPY --link conf/apache.conf /etc/apache2/conf-available/z-app.conf
COPY --link index.php /app/index.php

RUN a2enmod rewrite remoteip && \
a2enconf z-app
12 changes: 6 additions & 6 deletions 7.3-symfony/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ RUN apt-get update -qq && \
# PHP Extensions
RUN docker-php-ext-configure zip --with-libzip && \
docker-php-ext-install -j$(nproc) intl opcache pdo_mysql zip
COPY conf/php.ini /usr/local/etc/php/conf.d/app.ini
COPY --link conf/php.ini /usr/local/etc/php/conf.d/app.ini

# Apache
COPY errors /errors
COPY health.php /health/index.php
COPY conf/vhost.conf /etc/apache2/sites-available/000-default.conf
COPY conf/apache.conf /etc/apache2/conf-available/z-app.conf
COPY index.php /app/index.php
COPY --link errors /errors
COPY --link health.php /health/index.php
COPY --link conf/vhost.conf /etc/apache2/sites-available/000-default.conf
COPY --link conf/apache.conf /etc/apache2/conf-available/z-app.conf
COPY --link index.php /app/index.php

RUN a2enmod rewrite remoteip && \
a2enconf z-app
12 changes: 6 additions & 6 deletions 7.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ RUN apt-get update -qq && \

# PHP Extensions
RUN docker-php-ext-install -j$(nproc) opcache pdo_mysql
COPY conf/php.ini /usr/local/etc/php/conf.d/app.ini
COPY --link conf/php.ini /usr/local/etc/php/conf.d/app.ini

# Apache
COPY errors /errors
COPY health.php /health/index.php
COPY conf/vhost.conf /etc/apache2/sites-available/000-default.conf
COPY conf/apache.conf /etc/apache2/conf-available/z-app.conf
COPY index.php /app/index.php
COPY --link errors /errors
COPY --link health.php /health/index.php
COPY --link conf/vhost.conf /etc/apache2/sites-available/000-default.conf
COPY --link conf/apache.conf /etc/apache2/conf-available/z-app.conf
COPY --link index.php /app/index.php

RUN a2enmod rewrite remoteip && \
a2enconf z-app
12 changes: 6 additions & 6 deletions 7.4-symfony/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ RUN apt-get update -qq && \
# PHP Extensions
RUN docker-php-ext-configure zip && \
docker-php-ext-install -j$(nproc) intl opcache pdo_mysql zip
COPY conf/php.ini /usr/local/etc/php/conf.d/app.ini
COPY --link conf/php.ini /usr/local/etc/php/conf.d/app.ini

# Apache
COPY errors /errors
COPY health.php /health/index.php
COPY conf/vhost.conf /etc/apache2/sites-available/000-default.conf
COPY conf/apache.conf /etc/apache2/conf-available/z-app.conf
COPY index.php /app/index.php
COPY --link errors /errors
COPY --link health.php /health/index.php
COPY --link conf/vhost.conf /etc/apache2/sites-available/000-default.conf
COPY --link conf/apache.conf /etc/apache2/conf-available/z-app.conf
COPY --link index.php /app/index.php

RUN a2enmod rewrite remoteip && \
a2enconf z-app
12 changes: 6 additions & 6 deletions 7.4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ RUN apt-get update -qq && \

# PHP Extensions
RUN docker-php-ext-install -j$(nproc) opcache pdo_mysql
COPY conf/php.ini /usr/local/etc/php/conf.d/app.ini
COPY --link conf/php.ini /usr/local/etc/php/conf.d/app.ini

# Apache
COPY errors /errors
COPY health.php /health/index.php
COPY conf/vhost.conf /etc/apache2/sites-available/000-default.conf
COPY conf/apache.conf /etc/apache2/conf-available/z-app.conf
COPY index.php /app/index.php
COPY --link errors /errors
COPY --link health.php /health/index.php
COPY --link conf/vhost.conf /etc/apache2/sites-available/000-default.conf
COPY --link conf/apache.conf /etc/apache2/conf-available/z-app.conf
COPY --link index.php /app/index.php

RUN a2enmod rewrite remoteip && \
a2enconf z-app
12 changes: 6 additions & 6 deletions 8.0-symfony/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ RUN apt-get update -qq && \
# PHP Extensions
RUN docker-php-ext-configure zip && \
docker-php-ext-install -j$(nproc) intl opcache pdo_mysql zip
COPY conf/php.ini /usr/local/etc/php/conf.d/app.ini
COPY --link conf/php.ini /usr/local/etc/php/conf.d/app.ini

# Apache
COPY errors /errors
COPY health.php /health/index.php
COPY conf/vhost.conf /etc/apache2/sites-available/000-default.conf
COPY conf/apache.conf /etc/apache2/conf-available/z-app.conf
COPY index.php /app/index.php
COPY --link errors /errors
COPY --link health.php /health/index.php
COPY --link conf/vhost.conf /etc/apache2/sites-available/000-default.conf
COPY --link conf/apache.conf /etc/apache2/conf-available/z-app.conf
COPY --link index.php /app/index.php

RUN a2enmod rewrite remoteip && \
a2enconf z-app
12 changes: 6 additions & 6 deletions 8.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ RUN apt-get update -qq && \

# PHP Extensions
RUN docker-php-ext-install -j$(nproc) opcache pdo_mysql
COPY conf/php.ini /usr/local/etc/php/conf.d/app.ini
COPY --link conf/php.ini /usr/local/etc/php/conf.d/app.ini

# Apache
COPY errors /errors
COPY health.php /health/index.php
COPY conf/vhost.conf /etc/apache2/sites-available/000-default.conf
COPY conf/apache.conf /etc/apache2/conf-available/z-app.conf
COPY index.php /app/index.php
COPY --link errors /errors
COPY --link health.php /health/index.php
COPY --link conf/vhost.conf /etc/apache2/sites-available/000-default.conf
COPY --link conf/apache.conf /etc/apache2/conf-available/z-app.conf
COPY --link index.php /app/index.php

RUN a2enmod rewrite remoteip && \
a2enconf z-app
12 changes: 6 additions & 6 deletions 8.1-symfony/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ RUN apt-get update -qq && \
# PHP Extensions
RUN docker-php-ext-configure zip && \
docker-php-ext-install -j$(nproc) intl opcache pdo_mysql zip
COPY conf/php.ini /usr/local/etc/php/conf.d/app.ini
COPY --link conf/php.ini /usr/local/etc/php/conf.d/app.ini

# Apache
COPY errors /errors
COPY health.php /health/index.php
COPY conf/vhost.conf /etc/apache2/sites-available/000-default.conf
COPY conf/apache.conf /etc/apache2/conf-available/z-app.conf
COPY index.php /app/index.php
COPY --link errors /errors
COPY --link health.php /health/index.php
COPY --link conf/vhost.conf /etc/apache2/sites-available/000-default.conf
COPY --link conf/apache.conf /etc/apache2/conf-available/z-app.conf
COPY --link index.php /app/index.php

RUN a2enmod rewrite remoteip && \
a2enconf z-app
12 changes: 6 additions & 6 deletions 8.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ RUN apt-get update -qq && \

# PHP Extensions
RUN docker-php-ext-install -j$(nproc) opcache pdo_mysql
COPY conf/php.ini /usr/local/etc/php/conf.d/app.ini
COPY --link conf/php.ini /usr/local/etc/php/conf.d/app.ini

# Apache
COPY errors /errors
COPY health.php /health/index.php
COPY conf/vhost.conf /etc/apache2/sites-available/000-default.conf
COPY conf/apache.conf /etc/apache2/conf-available/z-app.conf
COPY index.php /app/index.php
COPY --link errors /errors
COPY --link health.php /health/index.php
COPY --link conf/vhost.conf /etc/apache2/sites-available/000-default.conf
COPY --link conf/apache.conf /etc/apache2/conf-available/z-app.conf
COPY --link index.php /app/index.php

RUN a2enmod rewrite remoteip && \
a2enconf z-app
4 changes: 2 additions & 2 deletions 8.2-frankenphp-bookworm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ RUN apt-get update -qq && \
RUN install-php-extensions opcache pdo_mysql

RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
COPY conf/php.ini $PHP_INI_DIR/conf.d/app.ini
COPY --link conf/php.ini $PHP_INI_DIR/conf.d/app.ini

# Caddy
COPY --link conf/Caddyfile /etc/caddy/Caddyfile
COPY index.php /app/public/index.php
COPY --link index.php /app/public/index.php
12 changes: 6 additions & 6 deletions 8.2-symfony/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ RUN apt-get update -qq && \
# PHP Extensions
RUN docker-php-ext-configure zip && \
docker-php-ext-install -j$(nproc) intl opcache pdo_mysql zip
COPY conf/php.ini /usr/local/etc/php/conf.d/app.ini
COPY --link conf/php.ini /usr/local/etc/php/conf.d/app.ini

# Apache
COPY errors /errors
COPY health.php /health/index.php
COPY conf/vhost.conf /etc/apache2/sites-available/000-default.conf
COPY conf/apache.conf /etc/apache2/conf-available/z-app.conf
COPY index.php /app/index.php
COPY --link errors /errors
COPY --link health.php /health/index.php
COPY --link conf/vhost.conf /etc/apache2/sites-available/000-default.conf
COPY --link conf/apache.conf /etc/apache2/conf-available/z-app.conf
COPY --link index.php /app/index.php

RUN a2enmod rewrite remoteip && \
a2enconf z-app
12 changes: 6 additions & 6 deletions 8.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ RUN apt-get update -qq && \

# PHP Extensions
RUN docker-php-ext-install -j$(nproc) opcache pdo_mysql
COPY conf/php.ini /usr/local/etc/php/conf.d/app.ini
COPY --link conf/php.ini /usr/local/etc/php/conf.d/app.ini

# Apache
COPY errors /errors
COPY health.php /health/index.php
COPY conf/vhost.conf /etc/apache2/sites-available/000-default.conf
COPY conf/apache.conf /etc/apache2/conf-available/z-app.conf
COPY index.php /app/index.php
COPY --link errors /errors
COPY --link health.php /health/index.php
COPY --link conf/vhost.conf /etc/apache2/sites-available/000-default.conf
COPY --link conf/apache.conf /etc/apache2/conf-available/z-app.conf
COPY --link index.php /app/index.php

RUN a2enmod rewrite remoteip && \
a2enconf z-app
4 changes: 2 additions & 2 deletions 8.3-frankenphp-bookworm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ RUN apt-get update -qq && \
RUN install-php-extensions opcache pdo_mysql

RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
COPY conf/php.ini $PHP_INI_DIR/conf.d/app.ini
COPY --link conf/php.ini $PHP_INI_DIR/conf.d/app.ini

# Caddy
COPY --link conf/Caddyfile /etc/caddy/Caddyfile
COPY index.php /app/public/index.php
COPY --link index.php /app/public/index.php
12 changes: 6 additions & 6 deletions 8.3-symfony/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ RUN apt-get update -qq && \
# PHP Extensions
RUN docker-php-ext-configure zip && \
docker-php-ext-install -j$(nproc) intl opcache pdo_mysql zip
COPY conf/php.ini /usr/local/etc/php/conf.d/app.ini
COPY --link conf/php.ini /usr/local/etc/php/conf.d/app.ini

# Apache
COPY errors /errors
COPY health.php /health/index.php
COPY conf/vhost.conf /etc/apache2/sites-available/000-default.conf
COPY conf/apache.conf /etc/apache2/conf-available/z-app.conf
COPY index.php /app/index.php
COPY --link errors /errors
COPY --link health.php /health/index.php
COPY --link conf/vhost.conf /etc/apache2/sites-available/000-default.conf
COPY --link conf/apache.conf /etc/apache2/conf-available/z-app.conf
COPY --link index.php /app/index.php

RUN a2enmod rewrite remoteip && \
a2enconf z-app
12 changes: 6 additions & 6 deletions 8.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ RUN apt-get update -qq && \

# PHP Extensions
RUN docker-php-ext-install -j$(nproc) opcache pdo_mysql
COPY conf/php.ini /usr/local/etc/php/conf.d/app.ini
COPY --link conf/php.ini /usr/local/etc/php/conf.d/app.ini

# Apache
COPY errors /errors
COPY health.php /health/index.php
COPY conf/vhost.conf /etc/apache2/sites-available/000-default.conf
COPY conf/apache.conf /etc/apache2/conf-available/z-app.conf
COPY index.php /app/index.php
COPY --link errors /errors
COPY --link health.php /health/index.php
COPY --link conf/vhost.conf /etc/apache2/sites-available/000-default.conf
COPY --link conf/apache.conf /etc/apache2/conf-available/z-app.conf
COPY --link index.php /app/index.php

RUN a2enmod rewrite remoteip && \
a2enconf z-app

0 comments on commit 8ab980d

Please sign in to comment.