You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ARG base
FROM ${base}
ENV TRIGGER_REBUILD=1
RUN install-packages libgd3
RUN add-apt-repository -y ppa:ondrej/php
RUN install-packages php8.1
RUN install-packages php8.1-bcmath
RUN install-packages php8.1-curl
RUN install-packages php8.1-dev
RUN install-packages php8.1-gd
RUN install-packages php8.1-imagick
RUN install-packages php8.1-intl
RUN install-packages php8.1-mbstring
RUN install-packages php8.1-mysql
RUN install-packages php8.1-redis
RUN install-packages php8.1-sqlite3
RUN install-packages php8.1-xml
RUN install-packages php8.1-z
RUN wget https://getcomposer.org/download/latest-2.2.x/composer.phar -O /usr/bin/composer
RUN chmod +x /usr/bin/composer
This is my nginx dockerfile
ARG base
FROM ${base}
ENV TRIGGER_REBUILD=1
RUN add-apt-repository -y ppa:ondrej/nginx-mainline
RUN install-packages \
nginx \
nginx-extras \
&& mkdir -p /var/run/nginx
COPY nginx.conf /etc/nginx/nginx.conf
## The directory relative to your git repository that will be served by Nginx# ENV APACHE_DOCROOT_IN_REPO="public"ENV NGINX_DOCROOT_IN_REPO="public"
Bug description
This is my php dockerfile
This is my nginx dockerfile
And this is
dazzle.yml
but there are warning when exec
php -v
But if merge the nginx and php dockerfile like https://github.com/gitpod-io/workspace-images/blob/main/chunks/tool-nginx/Dockerfile, It work fine
Steps to reproduce
use my dockerfile to build a php image
Expected behavior
php work fine
Example repository
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: