Commit graph

54 commits

Author SHA1 Message Date
chabad360
441f0916d4
Merge branch 'master' into master 2019-11-01 16:32:40 -04:00
Mendel Greenberg
ff59914aed
some small refractoring 2019-07-02 07:42:20 -04:00
Mendel Greenberg
35ed6d8de1
Merge in Locale generation fix 2019-06-28 15:25:03 -04:00
Mendel Greenberg
1f39396ce9
I wonder... 2019-06-28 15:08:51 -04:00
Mendel Greenberg
c7cc1b0b3f
small change 2019-06-27 19:33:52 -04:00
Mendel Greenberg
8040ac3d3a
what about like this? 2019-04-17 14:59:35 -07:00
Mendel Greenberg
5764b22856
and if we dont remove it? 2019-04-17 13:00:04 -07:00
Mendel Greenberg
7243e990ac
trying it this way 2019-04-17 12:49:42 -07:00
Mendel Greenberg
a9784805d8
forgot the -y... 2019-04-17 12:35:03 -07:00
Mendel Greenberg
3bbb5b5d20
lets try doing locales like this 2019-04-17 12:30:34 -07:00
Mendel Greenberg
4c7be00514
so it didn't work... 2019-04-09 21:24:13 -04:00
Mendel Greenberg
eeb6223eb5
try that for locales 2019-04-09 14:55:58 -04:00
Mendel Greenberg
52a4cf3c18
please work... 2019-04-07 23:42:17 -04:00
Mendel Greenberg
211ec5643d
maybe that 2019-04-07 23:21:49 -04:00
Mendel Greenberg
7ce9a390a6
fix that... 2019-04-07 23:10:35 -04:00
Mendel Greenberg
4b7004050e
where did that "h" come from? 2019-04-07 22:59:20 -04:00
Mendel Greenberg
92344ea4fc
that should fix that 2019-04-07 03:08:49 -04:00
Mendel Greenberg
84a71148e3
adding in some changes learnt from seibert-media/erpnext-docker 2019-04-07 02:31:55 -04:00
chabad360
33ad0c4fe9 refactor(frappe-docker): code cleanup and fixes (#63)
* testing replacement for dbench

* fixed perm issue and added docker control

* fixes and tests

fixed travis test, and perm issue

* auto add permissions

* bench setup anything-else should work now

* removed adding site names to host (its pointless)

* moved redis configuration folder into conf/

* added a docker down feature to dbench and changed some of the docs

* hopefully should fix the args issue

* 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

* Switch bench to dbench, added -s feature of dbench to bench. updated
Docker file with sudo and vim, and setup travis to run with said changes

* dockerfile: clean up (#52)

* Condensed Dockerfile

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

* fixed travis, and cleaned up dbench a little

* Oops...

* oops, but only for travis, this runs fine

* Travis!

* added help to dbench, and updated readme

* changes some of the wording of the help message

* dbench: fix init issues (#55)

./dbench init would lead to 'missing argument: PATH' issue (#54), and could not find Procfile_docker and site-config.

Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>

* bench setup anything-else should work now

* 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>

* removed adding site names to host (its pointless)

* moved redis configuration folder into conf/

* added a docker down feature to dbench and changed some of the docs

* Changed the readme significantly

 Please enter the commit message for your changes. Lines starting

* changed test.py to avoid naming errors

* moving some things around for less lines

* some more slight name changes

* added a .gitignore

* added the frappe folder again

* added a .dockerignore and fixed the dockerfile up a bit

* Updating travis' docker and compose

 This is the commit message #3:

* bringing chown in dbench back

* some refractoring

* implementing codacy sugestions

* moving some things around

* Updating dbench in some areas

* some random changes and fixes

* dockerfile refactoring

* Refractoring, reducing layers

* removing the py script that took too many lines to do one simple thing

* Fixed up the readme

* some refractoring

* moving to debian slim and refractoring

* adding some logging

* Updated travis to ubuntu xenial, should fix the curl issue

* manually building curl, cause we cant use  the latest version...

* maybe we dont need it

* changing the url to curl

* trying this instead

* lets just let it pollute the stream

* please pollute!
2019-04-06 01:20:30 +05:30
Mendel Greenberg
defe87b154
some refractoring 2019-03-11 21:24:33 -04:00
Mendel Greenberg
af52fca6b8
some last bits of refractoring 2019-03-11 13:40:25 -04:00
Mendel Greenberg
0e7a5992ea
manually building curl, cause we cant use the latest version... 2019-03-03 23:06:31 -05:00
Mendel Greenberg
05ebf9a3a4
moving to debian slim and refractoring 2019-03-03 20:57:18 -05:00
Mendel Greenberg
1be128b1f7
Refractoring, reducing layers 2019-03-01 16:42:26 -05:00
Mendel Greenberg
545dbaf885
dockerfile refactoring 2019-02-26 00:22:27 -05:00
Mendel Greenberg
e13b7121af
some random changes and fixes 2019-02-25 23:42:50 -05:00
Mendel Greenberg
98bdef5669
moving some things around 2019-02-25 23:37:35 -05:00
Mendel Greenberg
8493739787
implementing codacy sugestions 2019-02-25 23:37:16 -05:00
Mendel Greenberg
33b8dfea70
some refractoring 2019-02-25 23:36:48 -05:00
Mendel Greenberg
cf3c4dc173
added a .dockerignore and fixed the dockerfile up a bit 2019-02-25 23:36:23 -05:00
Mendel Greenberg
a7f564e222
added the frappe folder again 2019-02-25 23:36:23 -05:00
Mendel Greenberg
1ae03914ab
moving some things around for less lines 2019-02-25 23:36:22 -05:00
Mendel Greenberg
802686518c
added a docker down feature to dbench and changed some of the docs 2019-02-25 23:36:22 -05:00
Mendel Greenberg
293229e463
removed adding site names to host (its pointless) 2019-02-25 23:36:21 -05:00
William Moreno
a2e942496e
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>
2019-02-25 23:36:21 -05:00
chabad360
d101c6447b
Oops... 2019-02-25 23:36:18 -05:00
chabad360
f7f108f8f8
fixed travis, and cleaned up dbench a little 2019-02-25 23:36:02 -05:00
chabad360
05fda94220
dockerfile: clean up (#52)
* Condensed Dockerfile

Updated to latest node, and uses python-pip, also condensed a lot the Dockerfile.
2019-02-25 23:35:51 -05:00
chabad360
aeb741a4a3
Switch bench to dbench, added -s feature of dbench to bench. updated
Docker file with sudo and vim, and setup travis to run with said changes
2019-02-25 23:35:11 -05:00
chabad360
ed7ba75cd0
all installs are in one apt command 2019-02-25 23:35:11 -05:00
chabad360
35ca60899c
Removed MAINTAINER in favor of LABEL 2019-02-25 23:35:11 -05:00
chabad360
b04151ec00
Removed extra line 2019-02-25 23:35:11 -05:00
chabad360
7cc8bc0820
Condensed Dockerfile
Updated to latest node, and uses python-pip, also condensed a lot the Dockerfile.
2019-02-25 23:35:10 -05:00
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