|
@@ -1,7 +1,13 @@
|
|
|
-FROM httpd:2.4-alpine
|
|
|
+FROM php:7.2-apache-stretch
|
|
|
|
|
|
-RUN echo "Include conf/extra/httpd-lua.conf" >> /usr/local/apache2/conf/httpd.conf
|
|
|
-RUN apk add --no-cache lua
|
|
|
-RUN apk add --no-cache lua-redis lua-socket lua-cjson
|
|
|
-RUN apk add --no-cache lua-rex-pcre
|
|
|
-RUN apk add --no-cache lua-ossl
|
|
|
+RUN apt-get -y update
|
|
|
+RUN apt-get -y install lua lua-redis lua-socket lua-cjson lua-rex-pcre lua-luaossl
|
|
|
+
|
|
|
+
|
|
|
+#FROM httpd:2.4-alpine
|
|
|
+
|
|
|
+#RUN echo "Include conf/extra/httpd-lua.conf" >> /usr/local/apache2/conf/httpd.conf
|
|
|
+#RUN apk add --no-cache lua
|
|
|
+#RUN apk add --no-cache lua-redis lua-socket lua-cjson
|
|
|
+#RUN apk add --no-cache lua-rex-pcre
|
|
|
+#RUN apk add --no-cache lua-ossl
|