We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efdfe77 commit 2bfbd4cCopy full SHA for 2bfbd4c
jaytaph-php7-extension/Dockerfile
@@ -1,20 +1,22 @@
1
FROM php:7-alpine
2
MAINTAINER robin@kingsquare.nl
3
4
-# build it and they will com.. pile
5
-RUN apk add --no-cache autoconf g++ make
6
-
7
# Create working dir
8
RUN mkdir -p /var/app
9
COPY . /var/app
10
WORKDIR /var/app
11
12
-# compile it and they will raffle
13
-RUN phpize && \
+RUN \
+ apk add --no-cache autoconf g++ make &&\
+ # build it and they will com.. pile
+ phpize && \
14
./configure && \
+ # compile it and they will raffle
15
make && \
16
make install && \
17
- echo "extension=domcode.so" >> /usr/local/etc/php/conf.d/domcode.ini
+ echo "extension=domcode.so" >> /usr/local/etc/php/conf.d/domcode.ini && \
18
+ # radio gaga...
19
+ apk del autoconf g++ make
20
21
CMD ["php", "test.php", "/var/names/current"]
22
0 commit comments