Re: [Pharo-users] Smallest docker image for pharo >=7 ?

2019-10-18 Thread Tim Mackinnon
This is a better link: https://workingcopy.app/git/#path=scripts/build.sh=g...@gitlab.com:macta/PharoLambda.git Sent from my iPhone > On 18 Oct 2019, at 16:18, Tim Mackinnon wrote: > > Hi Norbert - it’s all in the gitlab repo (the idea was to fork it and > configure your own pipeline e vars)

Re: [Pharo-users] Smallest docker image for pharo >=7 ?

2019-10-18 Thread Tim Mackinnon
Hi Norbert - it’s all in the gitlab repo (the idea was to fork it and configure your own pipeline e vars) However the key stuff was in the scripts dir, and this file - /scripts/build.sh Which also loads some .st files for image fix ups . Tim Sent from my iPhone Sent from my iPhone > On 18

Re: [Pharo-users] Smallest docker image for pharo >=7 ?

2019-10-18 Thread Jan van de Sandt
Hi Norbert, Last year I did some experiments with Pharo Lambda functions, see: https://github.com/jvdsandt/pharo-aws-toolbox/blob/master/doc/pharo-lambda-runtime.md I didn't spend a lot of time on minimizing the image. There is still a lot of room for improvement. Jan. On Fri, Oct 18,

Re: [Pharo-users] Smallest docker image for pharo >=7 ?

2019-10-18 Thread Norbert Hartl
Tim, is there a document anywhere explaining how to do a lambda image? Norbert > Am 18.10.2019 um 11:00 schrieb Tim Mackinnon : > > I haven’t tried in a while, but in 2017 with PharoLambda I had a combined > Pharo image and VM size if 21 mb using the early Pharo minimal (I recall it > was

Re: [Pharo-users] Smallest docker image for pharo >=7 ?

2019-10-18 Thread Tim Mackinnon
I haven’t tried in a while, but in 2017 with PharoLambda I had a combined Pharo image and VM size if 21 mb using the early Pharo minimal (I recall it was an early 7.0 image ). I was loading a simple hello Alexa app, so not a ton of code (but it had Neo Json and other AWS libs as a dependency I

Re: [Pharo-users] Smallest docker image for pharo >=7 ?

2019-10-17 Thread Hernán Morales Durand
El mié., 16 oct. 2019 a las 19:49, Julián Maestri () escribió: > Example: > > # Stage 1: Load the project on an empty image, in this case this is a > development image (should change to use a minimal image) > > FROM basmalltalk/pharo:7.0-image AS loader > COPY load-project.st ./ > RUN pharo

Re: [Pharo-users] Smallest docker image for pharo >=7 ?

2019-10-16 Thread Julián Maestri
Example: # Stage 1: Load the project on an empty image, in this case this is a development image (should change to use a minimal image) FROM basmalltalk/pharo:7.0-image AS loader COPY load-project.st ./ RUN pharo Pharo.image load-project.st --save --quit # Stage 2: Copy the resulting Pharo.image

Re: [Pharo-users] Smallest docker image for pharo >=7 ?

2019-10-15 Thread Hernán Morales Durand
El lun., 14 oct. 2019 a las 5:23, Pierce Ng () escribió: > On Mon, Oct 14, 2019 at 04:07:49AM -0300, Hernán Morales Durand wrote: > > Because I am lazy and want to avoid searching through all DockerHub > > repository pages... Do you know a Dockerfile to generate the smallest > > possible docker

Re: [Pharo-users] Smallest docker image for pharo >=7 ?

2019-10-14 Thread Norbert Hartl
Hi, > Am 14.10.2019 um 09:07 schrieb Hernán Morales Durand > : > > Hi guys, > > Because I am lazy and want to avoid searching through all DockerHub > repository pages... Do you know a Dockerfile to generate the smallest > possible docker image for Pharo? Please have a look at

Re: [Pharo-users] Smallest docker image for pharo >=7 ?

2019-10-14 Thread Pierce Ng
On Mon, Oct 14, 2019 at 04:07:49AM -0300, Hernán Morales Durand wrote: > Because I am lazy and want to avoid searching through all DockerHub > repository pages... Do you know a Dockerfile to generate the smallest > possible docker image for Pharo? > Anyone could make it work Pharo on Alpine since

[Pharo-users] Smallest docker image for pharo >=7 ?

2019-10-14 Thread Hernán Morales Durand
Hi guys, Because I am lazy and want to avoid searching through all DockerHub repository pages... Do you know a Dockerfile to generate the smallest possible docker image for Pharo? I am also interested in which stage you use to install packages into the image, and why? Do you copy the contained