Closed Toraja closed 1 year ago
_
to private recipe if it appears as completion candidate.
make enter c=base,go
for example. compose.yml
and those need to be loaded as well. go
has this but it can be removed because the compose.yml defined CGE_ENABLED
environment variable and that can be baked into image as there is not many cases it has to be enabled. In case various environments later require their own compose.yml, some ideas of simple invocation are illustrated here.
just enter base go
or simply just enter go
. name *args:
.env
or retrieving label from the image is required. .env
, define, for example, CDE_GO=base,go
in it and inside the recipe, find the environment variable for given env (go
in this case).buildx
, auto image build by docker compose
when image does not exist will likely fail. --no-build
option must be passed to docker compose up
so that image will never be built automatically.
Summary
Makefile
is getting complicated and unmanagable.TODO
Installing just requires a few more steps and modifying$PATH
Once all recipes are written in ansible, Makefile will be very simple