EXAMPLE / Extra small size Meteor image - DiscoverMeteor/Microscope in 22MB (including the app)
453
Many times we want to deploy our docker image in environments where we do not have access to our registry, and doing it public is not an alternative. Solution:
$ docker save meteorjs/example | bzip2 > meteorjs_example.tar.gz
Then we can copy the file on the place where we needed and executes this
$ docker load < meteorjs_example.tar.gz
For this we need the image to be small, meteor in latest version (1.4) requires other tools like python make gcc g++ git ... that forces you to add and obviously image increase the size also do not forget that have dev tools in production env is always a risk. this kind of images solve that problem (y) enjoy it and please send me your feedback!!!
$ meteor build ../deploy --architecture os.linux.x86_64
$ docker pull meteorjs/cli
$ eval "$(docker run --rm --entrypoint xconfig meteorjs/cli docker)"
$ alpinize astral
$ docker build -t meteorjs/example .
Content type
Image
Digest
Size
21.1 MB
Last updated
almost 10 years ago
docker pull meteorjs/example