Skip to content

Commit

Permalink
Merge pull request #1 from kiboko-labs/refatoring/symfony-app
Browse files Browse the repository at this point in the history
Refactoring as a Symfony 4.x app
  • Loading branch information
gplanchat authored Oct 21, 2019
2 parents 2543c17 + 6320353 commit a425d9a
Show file tree
Hide file tree
Showing 164 changed files with 7,357 additions and 1,249 deletions.
88 changes: 0 additions & 88 deletions .docker/[email protected]/Dockerfile

This file was deleted.

65 changes: 65 additions & 0 deletions .docker/[email protected]/cli-xdebug/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
FROM kiboko/php:7.2-cli-xdebug

LABEL maintainer="Grégory Planchat <[email protected]>"

RUN set -ex\
&& apk add \
wget \
autoconf \
bash \
binutils \
expat \
file \
g++ \
gcc \
m4 \
make \
git \
nodejs \
npm \
&& update-ca-certificates

RUN apk add --update mysql-dev \
&& docker-php-ext-configure pdo_mysql \
&& docker-php-ext-install pdo_mysql \
&& docker-php-ext-configure mysqli \
&& docker-php-ext-install mysqli \
&& apk del mysql-dev

RUN apk del \
autoconf \
bash \
binutils \
expat \
file \
g++ \
gcc \
gdbm \
gmp \
isl \
libatomic \
libbz2 \
libc-dev \
libffi \
libgcc \
libgomp \
libldap \
libltdl \
libmagic \
libstdc++ \
libtool \
m4 \
make \
mpc1 \
mpfr3 \
musl-dev \
perl \
pkgconf \
pkgconfig \
python \
re2c \
readline \
sqlite-libs \
&& rm -rf /tmp/* /var/cache/apk/*

WORKDIR /var/www/html
70 changes: 70 additions & 0 deletions .docker/[email protected]/cli/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
FROM kiboko/php:7.2-cli-blackfire

LABEL maintainer="Grégory Planchat <[email protected]>"

RUN set -ex\
&& apk add \
wget \
autoconf \
bash \
binutils \
expat \
file \
g++ \
gcc \
m4 \
make \
git \
nodejs \
npm \
&& update-ca-certificates

RUN apk add --update mysql-dev \
&& docker-php-ext-configure pdo_mysql \
&& docker-php-ext-install pdo_mysql \
&& docker-php-ext-configure mysqli \
&& docker-php-ext-install mysqli \
&& apk del mysql-dev

RUN apk del \
autoconf \
bash \
binutils \
expat \
file \
g++ \
gcc \
gdbm \
gmp \
isl \
libatomic \
libbz2 \
libc-dev \
libffi \
libgcc \
libgomp \
libldap \
libltdl \
libmagic \
libstdc++ \
libtool \
m4 \
make \
mpc1 \
mpfr3 \
musl-dev \
perl \
pkgconf \
pkgconfig \
python \
re2c \
readline \
sqlite-libs \
&& rm -rf /tmp/* /var/cache/apk/*

RUN pwd && curl -LSs https://box-project.github.io/box2/installer.php | php \
&& mv box.phar /usr/local/bin/box \
&& chmod 0755 /usr/local/bin/box \
&& echo "phar.readonly=0" >> /usr/local/etc/php/conf.d/phar.ini

WORKDIR /var/www/html
1 change: 0 additions & 1 deletion .docker/[email protected]/config/memory.ini

This file was deleted.

4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/.env
/bin/bisous.phar
/bisous-phar-private.pem
/bisous-phar-private-nopassphrase.pem
Loading

0 comments on commit a425d9a

Please sign in to comment.