Browse code

Added README.md appinfo/info.xml appinfo/signature.json lib/Controller/AuthorApiController.php and the providers directory

DoubleBastionAdmin authored on 20/08/2022 16:33:00
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,22 @@
1
+ARG PHP_VERSION=7.2
2
+FROM php:${PHP_VERSION}-alpine
3
+
4
+ARG XDEBUG=0
5
+
6
+COPY docker/entrypoint.sh /usr/local/bin/
7
+RUN chmod 755 /usr/local/bin/entrypoint.sh
8
+
9
+RUN apk add --no-cache \
10
+	autoconf \
11
+	make \
12
+	g++ \
13
+	bash \
14
+	git \
15
+	openssl-dev
16
+
17
+RUN echo -e 'memory_limit=2G' > /usr/local/etc/php/conf.d/memory.ini
18
+RUN set -o pipefail && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
19
+RUN if [ ${XDEBUG} == "1" ] ; then pecl install xdebug && docker-php-ext-enable xdebug ; fi
20
+
21
+WORKDIR /docker
22
+ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]