Skip to content

Commit

Permalink
Merge branch 'main' into docker-image
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioMendolia authored Aug 6, 2024
2 parents 0f4440b + d7bbea1 commit b253e98
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions doc/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
FROM ghcr.io/biblioverse/biblioteca-docker:1.0.11 as base

FROM base as debug
FROM ghcr.io/biblioverse/biblioteca-docker:latest as base
USER root
RUN /usr/local/bin/install-php-extensions xdebug

# Somehow echo -e is not working
RUN echo ' \n\
[xdebug] \n\
xdebug.idekey=PHPSTORM \n\
xdebug.mode=off \n\
xdebug.client_host=host.docker.internal\n ' >> /usr/local/etc/php/conf.d/biblioteca.ini
USER www-data
RUN install-php-extensions xdebug
ENV XDEBUG_MODE=debug
ENV XDEBUG_CONFIG="client_host=host.docker.internal"
USER www-data

0 comments on commit b253e98

Please sign in to comment.