add info how to force rebuild

This commit is contained in:
Alexander Mahr 2023-07-04 08:12:07 +02:00
parent 70a8e8e571
commit fc846169d9

View file

@ -5,12 +5,12 @@
to build an application to build an application
1. modify the example minimal application source code found in 1. modify the example minimal application source code found in
```bash ```sh
vim ./apk/Makefile vim ./apk/Makefile
vim ./apk/..... (other files) vim ./apk/..... (other files)
``` ```
2. run the compilation in the container (which is build via `Dockerfile` and `docker-compose.yml` upon first usage) 2. run the compilation in the container (which is build via `Dockerfile` and `docker-compose.yml` upon first usage)
```bash ```sh
docker-compose run compile docker-compose run compile
``` ```
@ -37,5 +37,14 @@ to build an Android application, that via its "Hello World" app example should a
- generate a "hello world" application (and extend/grow/modify that) easily via CLI - generate a "hello world" application (and extend/grow/modify that) easily via CLI
- being portable and easily installable (hence the `docker compose`) - being portable and easily installable (hence the `docker compose`)
- reuse Makefile as an often familiar concept of "recipe" way to build the application - reuse Makefile as an often familiar concept of "recipe" way to build the application
## Helpful commands
* coerce rebuild:
```sh
docker-compose down --remove-orphans --rmi all
docker-compose build --no-cache
```