Skip to content
Snippets Groups Projects
Commit 34b1fdaf authored by Cyril L'Orphelin's avatar Cyril L'Orphelin
Browse files

MAJ image

parent 69fc28af
No related branches found
No related tags found
1 merge request!5Module Tapes : Try fixing bug 'Mixed Content The page at was loaded over...
Pipeline #183283 failed
FROM gitlab-registry.in2p3.fr/cc-in2p3-devops/openshift-origin/openshift-images/nginx:stable-alpine
LABEL maintainer="CNRS/CCIN2P3 DevOps Team"
ADD php-build/symfony.conf /etc/nginx/conf.d/default.conf
ADD php-build/public /var/www/tms/public
\ No newline at end of file
FROM gitlab-registry.in2p3.fr/cc-in2p3-devops/openshift-origin/openshift-images/php-fpm:stable-alpine
FROM gitlab-registry.in2p3.fr/cc-in2p3-devops/openshift-origin/openshift-images/php:8.1-fpm-alpine
LABEL maintainer="CNRS/CCIN2P3 DevOps Team"
RUN apk add --no-cache --virtual .php-build zlib-dev libpng-dev libjpeg-turbo-dev freetype-dev \
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
&& docker-php-ext-install -j$(nproc) gd mysqli pdo pdo_mysql
WORKDIR /var/www/tms
ADD tms /var/www/tms
RUN ls -alh
RUN mv .env.template .env
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
&& php -r "if (hash_file('sha384', 'composer-setup.php') === '55ce33d7678c5a611085589f1f3ddf8b3c52d662cd01d4ba75c0ee0459970c2200a51f492d557530c71c15d8dba01eae') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" \
&& php composer-setup.php \
&& php -r "unlink('composer-setup.php');"
RUN apk add --no-cache --virtual .php-tools yarn npm \
&& php composer.phar install --ignore-platform-reqs \
RUN mv .env.template .env
RUN php --version
RUN php composer.phar install \
&& yarn install --ignore-engines \
&& yarn encore dev \
&& apk del .php-tools
&& yarn encore dev ;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment