Merge pull request #99 from kdmukai/patch-2
[Docs update] Add note to update submodules
This commit is contained in:
commit
08c052d9e8
@ -2,6 +2,11 @@
|
||||
|
||||
Each time the `docker compose up` command runs, a full build from scratch is performed. You can optionally run `docker compose up -d` in detached mode by adding the `-d` flag. This will run the container in the background. To have faster development cycles you'll likely want to avoid building the OS from scratch each time. To avoid recreating the docker image/container each time, you have a few different routes. One such route is to pass the options `--no-op` (which is the default) to the `SS_ARGS` env variable when running `docker-compose up`. This will cause the container to skip the build steps but keep the container running in the background until you explicitly stop it. You can then launch a shell session into the container and work interactively, running any specific build commands you desire.
|
||||
|
||||
First make sure that the submodules are in sync:
|
||||
```bash
|
||||
git submodule update --recursive
|
||||
```
|
||||
|
||||
Using docker compose will start the container (create new container if one does not already exist) without building an image
|
||||
```bash
|
||||
SS_ARGS="--no-op" docker compose up -d --no-recreate
|
||||
|
||||
Loading…
Reference in New Issue
Block a user