Closed emk closed 7 years ago
@dkastner @seamusabshere cage repo
is about to become obsolete as a command name, because we will very shortly support both external source directories and also local source in the main repo.
How do you feel about cage source list
, cage source clone myservice
, cage source unmount myservice
(equivalent to the old mode image
) and cage source mount myservice
(equivalent to mode repo
)?
i love it
"source" and "mount" are exactly the right words
source
sounds good to me too
Not everybody will have have one git repository per Docker image. For smaller projects, you may just want to keep the
Dockerfile
and supporting source code directly undersrc
without using an external repo.To make this work, we need to:
examples
containing a tiny Node.js project.abs_path
plugin to handle relative paths inbuild:
.Repo
→Repos
andcage repo
→cage source
.Figure out what to do about our default.gitignore
and thesrc
directory.libraries.yml
for our release while we're at it. Maybe asconfig/sources.yml
?