mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-02-01 13:17:51 +02:00
add discuz
This commit is contained in:
parent
b83c9aabdb
commit
cb4b4fca5d
@ -26,6 +26,7 @@ dockerfiles
|
||||
- [x] chinadns
|
||||
- [x] collectd
|
||||
- [x] dante
|
||||
- [x] discuz :cn:
|
||||
- [x] dnscrypt
|
||||
- [x] dnscrypt-proxy
|
||||
- [x] dnscrypt-wrapper
|
||||
|
29
discuz/Dockerfile
Normal file
29
discuz/Dockerfile
Normal file
@ -0,0 +1,29 @@
|
||||
#
|
||||
# Dockerfile for discuz
|
||||
#
|
||||
|
||||
FROM php:5.6-apache
|
||||
MAINTAINER kev<noreply@datageek.info>
|
||||
|
||||
RUN set -xe \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y curl libjpeg-dev libpng12-dev unzip \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \
|
||||
&& docker-php-ext-install gd mysql
|
||||
|
||||
WORKDIR /var/www/html
|
||||
|
||||
ENV DISCUZ_VER 3.2
|
||||
ENV DISCUZ_URL http://download.comsenz.com/DiscuzX/${DISCUZ_VER}/Discuz_X${DISCUZ_VER}_SC_UTF8.zip
|
||||
ENV DISCUZ_MD5 ee804eac357d717ec0e75ad025d541b9
|
||||
ENV DISCUZ_FILE discuz.zip
|
||||
|
||||
RUN set -xe \
|
||||
&& curl -fSL ${DISCUZ_URL} -o ${DISCUZ_FILE} \
|
||||
&& echo "${DISCUZ_MD5} ${DISCUZ_FILE}" | md5sum -c \
|
||||
&& unzip ${DISCUZ_FILE} 'upload/*' \
|
||||
&& mv upload/* . \
|
||||
&& rm -rf ${DISCUZ_FILE} upload \
|
||||
&& chown -R www-data:www-data .
|
||||
|
10
discuz/README.md
Normal file
10
discuz/README.md
Normal file
@ -0,0 +1,10 @@
|
||||
discuz
|
||||
======
|
||||
|
||||
[Discuz!][1] is an internet forum software written in PHP and developed by a chinese company.
|
||||
|
||||
:warning: Discuz! is free of charge for private uses. A license that allows commercial use costs about ¥3000.
|
||||
|
||||
Stable release: X3.2 (September 23, 2013; 2 years ago).
|
||||
|
||||
[1]: http://www.discuz.net
|
Loading…
x
Reference in New Issue
Block a user