[WIP] Add Dockerfile to generate the Nulecule index into an image#17
[WIP] Add Dockerfile to generate the Nulecule index into an image#17vpavlin wants to merge 2 commits intoprojectatomic:masterfrom
Conversation
1. Image namingI would also like to propose one guideline point as a part of this PR - names of the directories in this repository should match names of the images created from the Nulecules in them. I think we already do this "by default", but having it written would be good.. 2. External Index AdditionsAnother thing is that there might be projects which would rather maintain their own repository for their apps/components, but it would be beneficial for us to have them in the Index. This could be then solved by a similar yaml files @kbsingh proposed in cccp project earlier. F.E. (Just a brain dump..) Which can be easily incorporated in index during |
|
hmm, now big is that image carrying a ascii file? |
|
Due to a Docker layring overhead...300 KB (cause I assume you already have the atomicapp base image pulled) |
|
nice answer :) |
There was a problem hiding this comment.
should this be projectatomic/atomicapp ? .. after the merge projectatomic/atomicapp#379
There was a problem hiding this comment.
Yes, definitely. I did it this way so that people can try it right away without having to build any images etc... Also, this is just a POC, I'm happy to pass the code to anybody who wants to carry on with it;)
This PR adds Dockerfile to the root of
nulecule-libraryrepository. This Dockerfile uses new feature of Atomic App I am also proposing - generation of the Index. When an Automated Build is set up, this Dockerfile will result in an image containing metadata for all Nulecule apps/components residing in this repository.Kudos to @dustymabe for the idea of shipping the Index in an image:)
You can see the example image on Docker Hub as
nulecule/index