This repository has been archived by the owner on Nov 30, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
105 lines (100 loc) · 2.05 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
FROM lsiobase/alpine:3.16
LABEL maintainer="Griefed <griefed@griefed.de>"
ARG ICECODER_VERSION="8.1"
RUN \
echo "**** install dependencies and build tools and stuff ****" && \
apk add --no-cache \
acl \
alpine-base \
bzip2 \
curl \
fbida-exiftran \
ffmpeg \
git \
gzip \
imagemagick \
jq \
libxml2 \
libzip \
libzip-dev \
libzip-doc \
libzip-tools \
memcached \
php7 \
php7-apcu \
php7-bcmath \
php7-bz2 \
php7-ctype \
php7-curl \
php7-dba \
php7-dom \
php7-exif \
php7-fileinfo \
php7-fpm \
php7-ftp \
php7-gd \
php7-gettext \
php7-gmp \
php7-iconv \
php7-imagick \
php7-imap \
php7-intl \
php7-json \
php7-ldap \
php7-mcrypt \
php7-memcached \
php7-mysqli \
php7-mysqlnd \
php7-opcache \
php7-pcntl \
php7-pdo_mysql \
php7-pdo_odbc \
php7-pdo_pgsql \
php7-pdo_sqlite \
php7-pear \
php7-pecl-apcu \
php7-pecl-imagick \
php7-pecl-redis \
php7-pgsql \
php7-phar \
php7-posix \
php7-pspell \
php7-redis \
php7-snmp \
php7-soap \
php7-sockets \
php7-sodium \
php7-sqlite3 \
php7-ssh2 \
php7-tokenizer \
php7-xml \
php7-xmlreader \
php7-xmlrpc \
php7-xsl \
php7-zip \
re2c \
sqlite \
subversion \
sudo \
tar \
unzip \
wget \
xz \
zip && \
echo "**** configure php, including symlink ****" && \
ln -sf \
/usr/bin/php7 \
/usr/bin/php && \
sed -i \
-e "s#\output_buffering =.*#\output_buffering = \off#g" \
-e "s/post_max_size =.*$/post_max_size = 1560M/" \
-e "s/upload_max_filesize =.*$/upload_max_filesize = 2048M/" \
-e 's#;session.save_path = "/tmp"#session.save_path = "/config/sess"#g' \
/etc/php7/php.ini && \
echo "**** Misc ****" && \
echo $ICECODER_VERSION > /version.txt
# Copy local files
COPY root/ /
# Communicate ports and volumes to be used
EXPOSE 8080
VOLUME /config /data /plugins /code