docker image

I want to make a dolphin image for the docker to install dolphin on cloud like google cloud, alibaba cloud etc, is there someone who can help me?
For example, this is the official image of the trident, but most of us are intimated by the dolphin pro


 

# Trident docker file
FROM php:5-apache
 
MAINTAINER dev@boonex.com
 
# PHP extensions and necessary packages
RUN apt-get update && apt-get install -y \
cron \
libfreetype6-dev \
libjpeg62-turbo-dev \
libmcrypt-dev \
libpng12-dev \
sendmail sendmail-bin \
unzip \
&& docker-php-ext-install -j$(nproc) exif \
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
&& docker-php-ext-install -j$(nproc) gd \
&& docker-php-ext-install -j$(nproc) iconv \
&& docker-php-ext-install -j$(nproc) mbstring \
&& docker-php-ext-install -j$(nproc) mcrypt \
&& docker-php-ext-install -j$(nproc) mysql \
&& docker-php-ext-install -j$(nproc) opcache \
&& docker-php-ext-install -j$(nproc) pdo \
&& docker-php-ext-install -j$(nproc) pdo_mysql \
&& docker-php-ext-install -j$(nproc) zip \
&& rm -rf /var/lib/apt/lists/*
 
# User folder
 
RUN groupadd -r --gid 2483 trident \
&& useradd -r --uid 2483 -g trident trident
 
RUN chown trident:trident /var/www/html /var/www
 
# Unzip package
 
USER trident
 
WORKDIR /var/www/html
 
ENV TRIDENT_VERSION 8.0.1
 
# Alternative download URL - https://github.com/boonex/trident/releases/download/${TRIDENT_VERSION}/Trident-v.${TRIDENT_VERSION}.zip
RUN curl -fSL "http://ci.boonex.com/builds/Trident-v.${TRIDENT_VERSION}.zip" -o trident.zip \
&& unzip -o trident.zip \
&& rm trident.zip \
&& mv Trident-v.${TRIDENT_VERSION}/* . \
&& mv Trident-v.${TRIDENT_VERSION}/.htaccess . \
&& rm -rf "Trident-v.${TRIDENT_VERSION}"
 
RUN chmod 777 inc cache cache_public logs tmp storage \
&& chmod +x plugins/ffmpeg/ffmpeg.exe
 
# Apache configuration
 
USER root
 
RUN echo "memory_limit=192M \n\
post_max_size=100M \n\
upload_max_filesize=100M \n\
error_log=/var/www/php_error.log \n\
error_reporting=E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT \n\
display_errors=Off \n\
log_errors=On \n\
sendmail_path=/usr/sbin/sendmail -t -i \n\
date.timezone=UTC" > /var/www/php.ini && chown trident:trident /var/www/php.ini
 
RUN touch /var/www/php_error.log \
&& chown trident:trident /var/www/php_error.log \
&& chmod 666 /var/www/php_error.log
 
RUN echo "<VirtualHost *:80> \n\
DocumentRoot /var/www/html \n\
PHPINIDir /var/www \n\
ErrorLog /var/www/error.log \n\
CustomLog /var/www/access.log combined \n\
</VirtualHost>" > /etc/apache2/sites-enabled/trident.conf
 
RUN a2enmod rewrite expires
 
# Crontab
 
RUN echo "* * * * * php -c /var/www /var/www/html/periodic/cron.php" > /var/www/crontab
 
RUN chown trident:trident /var/www/crontab \
&& crontab -u trident /var/www/crontab
 
# Expose port
 
VOLUME /var/www
 

EXPOSE80

 

brunno
Quote · 16 Nov 2017

Docker file for Dolphin would be very similar to this one, you need to change package names, different directories needs to be writable, etc

 
Rules → http://www.boonex.com/terms
Quote · 19 Nov 2017
Yes it is true, but a variant with nginx php-fp would be much more interesting, would ease the work of everyone
brunno
Quote · 19 Nov 2017

https://console.cloud.google.com/launcher/browse?filter=category:blog-cms

https://www.alibabacloud.com/marketplace/category/All_Products-56718001.htm?spm=a3c0i.7848310.756632.11.72c02dd74R6AZm

For example, google cloud or other major platforms have images of many cms ready to run for free with all the preconfigured settings. The beginner user experience would be much simpler and more attractive to use Dolphin.
I think it would be very useful if Boonex would provide an Docker image for runing in container , some stack, or puppet. Also juju provide Charms for deploy instantly varios software.

Al cms can be run in major platform on the web with different installation options, operating system, linux, windows, web server: apache, nginx platform , db: mysql, maria, etc.
Why not simplify for dolphin?
Thousands of users' hours of work are thrown away for simple operations.
when the website administrator already has a lot of things to do once the site has been installed to monetize.
brunno
Quote · 19 Nov 2017

Thank you for pointing this out, we'll consider making Dolphin and UNA run on these platforms.

https://github.com/boonex/dolphin.pro/issues/616

 
Rules → http://www.boonex.com/terms
Quote · 27 Nov 2017
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.