1
0
mirror of https://github.com/zokradonh/kopano-docker.git synced 2026-08-24 06:42:54 +00:00

build fixes and readme improvements (#85)

* add compose to the build image
* update readme
* fine tuning for build container
* directly pass commands to run script in build env
* fix dockerfile so that everything can be build on Docker version 17.05.0-ce, build 9f07f0e-synology
This commit is contained in:
Felix Bartels
2019-01-28 11:07:06 +01:00
committed by GitHub
parent 6c70d11108
commit 6a14fbe174
7 changed files with 47 additions and 11 deletions
+7 -2
View File
@@ -1,13 +1,18 @@
Helper container for systems where build requirements (bash, curl, jq, make) are not available (for example on Synology)
# Minimal build environment
Helper container for systems where build requirements (bash, curl, docker-compose, jq, make) are not available (for example on Synology)
Run the following command to enter the "build environment" (command may need to be run with `sudo` to work with the `docker` command):
```
$ ./run.sh
This script may need to be run as root to be able to use docker/docker-compose through it.
bash-4.4$
```
(the first time it will take a moment before the bash prompt is displayed, since the container is built locally first)
Afterwards you can execute the `setup.sh` script, modify `.env` to your liking and run any make commands:
```
@@ -63,4 +68,4 @@ Sending build context to Docker daemon 4.608kB
[...]
```
After exiting the container run `docker-compose up -d`, which will have the images started you previously built.
This container also includes ´docker-compose´ for systems that can not be easily updated (again Synology). You can freely choose to use ´docker-compose up -d´ from inside of outside of this container.