mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-18 02:32:09 +00:00
Create docker.sh
This commit is contained in:
parent
330ba7ba83
commit
78af66ad80
15
tools/docker.sh
Normal file
15
tools/docker.sh
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Fixup some dependencies missing from the ubuntu:bionic image
|
||||||
|
apt install locales curl lsb-release net-tools git
|
||||||
|
|
||||||
|
cd ~
|
||||||
|
rm -rf mailinabox/
|
||||||
|
git clone https://github.com/kaibae19/mailinabox
|
||||||
|
|
||||||
|
# The setup script will fail to find the IP addresses of the container
|
||||||
|
ifconfig | grep global
|
||||||
|
ifconfig | grep inet | grep -v 127
|
||||||
|
echo "Export PRIVATE_IP and PUBLIC_IPV6 as variables before launching the setup script."
|
||||||
|
|
||||||
|
cd ~/mailinabox
|
Loading…
Reference in New Issue
Block a user