Change name and remove tree
continuous-integration/drone/push Build is passing Details

master
dorian.hodin 2 years ago
parent 811d7c2f5b
commit 76c6702e14

@ -8,7 +8,7 @@ trigger:
steps: steps:
- name: image-app - name: Formulaire
image: plugins/docker image: plugins/docker
settings: settings:
dockerfile: ./Dockerfile dockerfile: ./Dockerfile
@ -24,11 +24,11 @@ steps:
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
environment: environment:
IMAGENAME: hub.codefirst.iut.uca.fr/dorian.hodin/sae4.01_formulaire:latest IMAGENAME: hub.codefirst.iut.uca.fr/dorian.hodin/sae4.01_formulaire:latest
CONTAINERNAME: Temoignages CONTAINERNAME: Formulaire
COMMAND: create COMMAND: create
OVERWRITE: true OVERWRITE: true
ADMINS: dorianhodin,alexislamande,baptistebaverel,johanlachenal ADMINS: dorianhodin,alexislamande,baptistebaverel,johanlachenal
depends_on: [ image-app ] depends_on: [ Formulaire ]
- name: setup_PHP_for_SonarQube - name: setup_PHP_for_SonarQube
image: sonarsource/sonar-scanner-cli image: sonarsource/sonar-scanner-cli

@ -1,7 +1,6 @@
FROM php:8.1-apache FROM php:8.1-apache
RUN apt-get update && apt-get install -y git zip tree RUN apt-get update && apt-get install -y git zip
COPY . /var/www/html COPY . /var/www/html
RUN tree
WORKDIR /var/www/html/Source/Config WORKDIR /var/www/html/Source/Config
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN composer update && composer install RUN composer update && composer install

Loading…
Cancel
Save