11 Commits

Author SHA1 Message Date
William Moreno
687ef7cecc Clean cache to get a smaller image (#57)
Please include this commit to decrease the size of the docker image, the "rm -rf /var/lib/apt/lists/*" it is not usefull if it is not used in the same stage of the apt-get install RUN, similar with pip cache.

References:
 - https://linux.die.net/man/8/apt-get
 - https://stackoverflow.com/questions/9510474/removing-pips-cache
 - https://semaphoreci.com/blog/2016/12/13/lightweight-docker-images-in-5-steps.html

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file;

(b) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.

Signed-off-by: William Moreno Reyes <williamjmorenor@gmail.com>
2018-10-22 07:11:59 +00:00
chabad360
2b1334d5a5 improvements to travis and dbench (#53)
This PR adds the `bench` script, which aims for near parity with frappe bench, it makes setting up far easier, because instead of running `./dbench -c "new-site site1.local"` you only white what you would if bench was installed on the local system (i.e. `./bench new-site site1.local`), it also adds other features as well.
2018-10-13 03:05:29 +00:00
chabad360
e079c479f5 dockerfile: clean up (#52)
* Condensed Dockerfile

Updated to latest node, and uses python-pip, also condensed a lot the Dockerfile.

* Removed extra line

* Removed MAINTAINER in favor of LABEL

* all installs are in one apt command
2018-10-05 18:50:10 +00:00
Chinmay Pai
62f1129b3f
redis: fix redis
Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>
2018-09-28 13:33:14 +05:30
joezsweet
61d2ae1e9b
Make work on latest
- clone bench master
- install yarn globally
- set lang as C.UTF-8
2018-02-27 10:44:14 +01:00
vishalseshagiri
9efa4001c4
Updated Dockerfile
- changed maintainer to frappé
2017-11-27 13:03:33 +05:30
vishalseshagiri
7e9abdc738 Update Dockerfile 2017-10-06 13:53:48 +05:30
vishalseshagiri
950647a182 git diff bb01cc827732524ef9a2aa94036f0f8d9d6e78e2 a32c9230dd726399c59f5849d7e0a25b1e3a281a | git apply --reject --whitespace=fix 2017-10-02 09:32:03 +05:30
vishalseshagiri
92fa8c1d42 Port forwarding enabled+start-container.sh+setup.sh
Former-commit-id: e70428e7b32c1eb74a376ab5efe195d2790ffc5c
2017-07-24 08:52:16 +00:00
vishalseshagiri
d4d6952755 Added setup-frappe.sh as a file to the docker-frappe container, Added start-frappe.sh as a script file to start the frappe container once all the containers are up and running, Added redis and mariadb as links to the frappe container, made changes to the docker-compose and Dockerfile, issue: could'nt control startup order of containers (goal for future dev), Run docker-compose up -d to start all the containers 2017-07-20 11:48:19 +00:00
vishalseshagiri
40fbff8e77 First working dockerization 2017-07-18 09:00:58 +00:00