Re: Explore integrating django-docker-box in some way?

2019-10-08 Thread Jani Tiainen
IIRC correctly I had problems with alpine and it's GIS libraries when preparing for my workshop on Djangocon EU 2019. Most of the required libs weren't available in stable version. Haven't checked if situation has improved since. ti 8. lokak. 2019 klo 14.05 Tom Forbes kirjoitti: > I did

Re: Explore integrating django-docker-box in some way?

2019-10-08 Thread Nick Sarbicki
That makes sense. Do we have a list of the versions required? I'm happy to try it out and see if it makes a difference. - Nick On Tue, Oct 8, 2019 at 12:05 PM Tom Forbes wrote: > I did experiment with it. The main problem is that the image we use > requires a bunch of system libraries (see >

Re: Explore integrating django-docker-box in some way?

2019-10-08 Thread Tom Forbes
I did experiment with it. The main problem is that the image we use requires a bunch of system libraries (see https://github.com/django/django-docker-box/blob/master/Dockerfile#L4 ). I think a few where missing our outdated

Re: Explore integrating django-docker-box in some way?

2019-10-08 Thread Carlton Gibson
I’ll have a look..  On Tue, 8 Oct 2019 at 12:52, Josh Smeaton wrote: > I was going to archive the repo, but it seems I don't have the necessary > permissions. Carlton, do you? > > On Tuesday, 8 October 2019 21:45:22 UTC+11, Adam Johnson wrote: >> >> +1 to archiving django-box >> >> On Tue, 8

Re: Explore integrating django-docker-box in some way?

2019-10-08 Thread Nick Sarbicki
Just out of interest, Tom, have you tried using Alpine as the base? Or is there a reason to avoid it? I usually find once you introduce all the dependencies for django it doesn't make a huge difference but it might shave some of the weight off if we're worried about image size. - Nick On Tue,

Re: Explore integrating django-docker-box in some way?

2019-10-08 Thread Josh Smeaton
I was going to archive the repo, but it seems I don't have the necessary permissions. Carlton, do you? On Tuesday, 8 October 2019 21:45:22 UTC+11, Adam Johnson wrote: > > +1 to archiving django-box > > On Tue, 8 Oct 2019 at 11:01, Tom Forbes > > wrote: > >> Thank you for the kind words Bruno!

Re: Explore integrating django-docker-box in some way?

2019-10-08 Thread Adam Johnson
+1 to archiving django-box On Tue, 8 Oct 2019 at 11:01, Tom Forbes wrote: > Thank you for the kind words Bruno! I'm glad it's helped you, if you have > any suggestions for improvements then please open an issue on the repo or > post a message here, I know it's not perfect. I would have replied

Re: Explore integrating django-docker-box in some way?

2019-10-08 Thread Tom Forbes
Thank you for the kind words Bruno! I'm glad it's helped you, if you have any suggestions for improvements then please open an issue on the repo or post a message here, I know it's not perfect. I would have replied earlier but this message didn't get delivered to me. I'm biased, but I'd be +1

Re: Explore integrating django-docker-box in some way?

2019-10-08 Thread Carlton Gibson
Hi Bruno. Thanks for your post! I've come to take silence as positive feedback, but actual comments go further than you'd think. :) Tom was the driver here, so credit to him, and those who helped/tested. Hi Josh. Yes, it's probably time. (I imagine "use a VM running docker" is now likely the

Re: Explore integrating django-docker-box in some way?

2019-10-04 Thread Josh Smeaton
+1 On that note, how do people feel about archiving/deprecating https://github.com/django/django-box and updating the readme to point to the docker box project? The last official version it supports is Django 2.1, but it was already on life support at that time, since half of the people who

Re: Explore integrating django-docker-box in some way?

2019-10-04 Thread Bruno Alla
Just a note that as a newish contributor to Django, this django-docker-box is fantastic, it makes things much easier to setup. Thank you to everyone involved! On Wednesday, 5 December 2018 00:02:27 UTC, Tom Forbes wrote: > > To have this completely working at sprints without having everyone >

Re: Explore integrating django-docker-box in some way?

2018-12-04 Thread Tom Forbes
To have this completely working at sprints without having everyone building their own local images we would need to have the Jenkins server use docker in some capacity. This would also require an official django account on Docker hub. The pattern I’m using right now is that on every build we pull

Re: Explore integrating django-docker-box in some way?

2018-12-04 Thread Josh Smeaton
Size of the image could definitely be a concern, especially at sprints where wifi speeds aren't always optimal. The django-box image is significantly larger though so it'd still be a net win. There are also optimisations that can be made to the image for reducing size over time, so I'd fully

Re: Explore integrating django-docker-box in some way?

2018-12-04 Thread Tom Forbes
Thank you for the reply Josh. I didn’t anticipate any suggestions for including this inside core but off the back of your suggestion I’ve made a ticket here: https://code.djangoproject.com/ticket/30010. I don’t think it should be complex at all to include this inside Django - it’s four or five

Re: Explore integrating django-docker-box in some way?

2018-11-05 Thread Josh Smeaton
I'm sorry I haven't had the time to review or contribute yet, but I think it'll be a very useful project - especially for new contributors that might have a little docker experience. The current vagrant solution is heavy, does not work properly on windows and some linuxes, and isn't that easy

Explore integrating django-docker-box in some way?

2018-11-04 Thread Tom Forbes
Hello all, I’ve been working on a docker-compose based alternative to django-box (imaginatively named django-docker-box) over the last month and it finally appears to be mostly complete. For reference the tool is just a Dockerfile and a docker-compose definition that is able to run a complete