-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
32 lines (26 loc) · 714 Bytes
/
Dockerfile
File metadata and controls
32 lines (26 loc) · 714 Bytes
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
FROM atsu666/ioncube:5.5
MAINTAINER atsu666
# Set Locale
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
# Install unzip
RUN apt-get -y install unzip
# Download a-blog cms
RUN chmod 777 /var/www/html && \
cd /var/www/html && \
wget http://ablogc.ms/1PPdqqC -O acms.zip && \
unzip acms.zip && \
mv acms2512_install/ablogcms/* ./ && \
mv htaccess.txt .htaccess && \
chmod -R 777 config.server.php archives archives_rev media setup themes && \
rm index.html && \
rm acms.zip && \
rm -rf acms170
ADD db_default.php /var/www/html/setup/lib/db_default.php
# Run
ADD run.sh run.sh
RUN chmod 755 /*.sh
EXPOSE 80
CMD ["./run.sh"]