-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vm: Remove unnecessary upstream files, update docs.
- Loading branch information
1 parent
9837075
commit b8550bf
Showing
11 changed files
with
61 additions
and
663 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# Development Documentation | ||
|
||
## `qemu-rpi-os-lite` | ||
|
||
### Build docker image | ||
|
||
```bash | ||
git clone https://github.com/carlosperate/docker-qemu-rpi-os.git | ||
``` | ||
```bash | ||
cd docker-qemu-rpi-os | ||
``` | ||
```bash | ||
docker build -t carlosperate/qemu-rpi-os-lite . | ||
``` | ||
|
||
### Run docker image | ||
|
||
```bash | ||
docker run -it carlosperate/qemu-rpi-os-lite | ||
``` | ||
|
||
### Publish docker image | ||
|
||
TBD. | ||
|
||
|
||
## `dockerpi` Fork | ||
|
||
The [vm](vm) folder contains a fork of the | ||
[dockerpi](https://github.com/lukechilds/dockerpi/) project, with modifications | ||
as listed in its [vm/README.md](vm/README.md) file. | ||
|
||
### Build image | ||
|
||
```bash | ||
docker build -t ghcr.io/carlosperate/dockerpi-vm:local . | ||
``` | ||
|
||
### Run container pointing to Pi OS image file | ||
|
||
```bash | ||
docker run -it --rm -v full_path_to.img:/sdcard/filesystem.img -p 5022:5022 ghcr.io/carlosperate/dockerpi-vm:local | ||
``` | ||
|
||
### Push image to GH Container Registry | ||
|
||
```bash | ||
docker login ghcr.io -u <your_username> | ||
``` | ||
```bash | ||
docker tag IMAGE_ID ghcr.io/carlosperate/dockerpi-vm:VERSION | ||
``` | ||
```bash | ||
docker push ghcr.io/carlosperate/dockerpi-vm:VERSION | ||
``` |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.