Quantcast
Channel: iRedMail
Viewing all articles
Browse latest Browse all 14103

Building a Docker image

$
0
0

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version: 0.9.0
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Linux/BSD distribution name and version: Ubuntu 14.04
- Related log if you're reporting an issue:
====

I am writing some scripts to build a Docker image for iRedMail: https://github.com/docker-build/iRedMail
I would like to make an initial installation inside this image, so that the necessary packages
are already installed. I have tried to do this by using a dummy 'config' file and a command
like this: `echo y | ./iRedMail.sh` (see: https://github.com/docker-build/iRedMai … le#L17-20)
However it is not possible to set a FQDN during the process of building an image,
so the installation script refuses to continue.

Is it possible to circumvent it somehow, or at list to download and install all the necessary
packages, without doing all the configurations?


Viewing all articles
Browse latest Browse all 14103

Trending Articles