-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
29 lines (25 loc) · 868 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM php:7.4-cli-alpine
RUN apk add --no-cache --update \
bash \
nano \
libffi-dev \
autoconf \
g++ \
make \
curl \
&& rm -rf /var/cache/apk/* \
&& docker-php-ext-install ffi \
&& COMPOSER_ALLOW_SUPERUSER=1 curl -sS https://getcomposer.org/installer | php -- \
--filename=composer \
--install-dir=/usr/local/bin \
&& composer global require hirak/prestissimo --no-plugins --no-scripts \
&& rm -rf /root/.composer \
&& curl 'https://codeload.github.com/jmcnamara/libxlsxwriter/tar.gz/RELEASE_0.9.4' > 'libxlsxwriter.tar.gz' \
&& tar xzfv libxlsxwriter.tar.gz
RUN apk add --no-cache --update zlib-dev
RUN cd 'libxlsxwriter-RELEASE_0.9.4' \
&& make \
&& make install
RUN ls -al /usr/local/lib | grep libxlsxwriter
WORKDIR /app
CMD ["tail", "-f", "/dev/null"]