mirror of
https://github.com/lukechilds/dockerpi.git
synced 2026-01-22 18:05:11 +00:00
Initial commit
This commit is contained in:
commit
6ae5d8ae81
5 changed files with 85 additions and 0 deletions
7
.github/FUNDING.yml
vendored
Normal file
7
.github/FUNDING.yml
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
github:
|
||||
- 'lukechilds'
|
||||
custom:
|
||||
- 'https://blockstream.info/address/1LukeQU5jwebXbMLDVydeH4vFSobRV9rkj'
|
||||
- 'https://blockstream.info/address/3Luke2qRn5iLj4NiFrvLBu2jaEj7JeMR6w'
|
||||
- 'https://blockstream.info/address/bc1qlukeyq0c69v97uss68fet26kjkcsrymd2kv6d4'
|
||||
- 'https://tippin.me/@lukechilds'
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
*.swp
|
||||
24
Dockerfile
Normal file
24
Dockerfile
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
FROM qemu/arm as dockerpi-base
|
||||
LABEL maintainer="Luke Childs <lukechilds123@gmail.com>"
|
||||
|
||||
ADD https://github.com/dhruvvyas90/qemu-rpi-kernel/archive/master.zip /tmp/qemu-rpi-kernel-master.zip
|
||||
|
||||
RUN unzip /tmp/qemu-rpi-kernel-master.zip -d ~ && rm -rf /tmp/*
|
||||
|
||||
VOLUME /filesystem.img
|
||||
|
||||
ENTRYPOINT ["qemu-system-arm"]
|
||||
CMD [ \
|
||||
"-M", "versatilepb", \
|
||||
"-cpu", "arm1176", \
|
||||
"-m", "256", \
|
||||
"-hda", "/filesystem.img", \
|
||||
"-net", "nic", \
|
||||
"-net", "user,hostfwd=tcp::5022-:22", \
|
||||
"-dtb", "/root/qemu-rpi-kernel-master/versatile-pb.dtb", \
|
||||
"-kernel", "/root/qemu-rpi-kernel-master/kernel-qemu-4.19.50-buster", \
|
||||
"-append", "root=/dev/sda2 panic=1", \
|
||||
"-no-reboot", \
|
||||
"-display", "none", \
|
||||
"-serial", "mon:stdio" \
|
||||
]
|
||||
21
LICENSE
Normal file
21
LICENSE
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2017 Luke Childs
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
32
README.md
Normal file
32
README.md
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
# dockerpi
|
||||
|
||||
[](https://github.com/lukechilds/dockerpi/actions)
|
||||
[](https://hub.docker.com/r/lukechilds/dockerpi/)
|
||||
[](https://hub.docker.com/r/lukechilds/dockerpi/tags?name=latest)
|
||||
[](https://github.com/sponsors/lukechilds)
|
||||
[](https://blockstream.info/address/3Luke2qRn5iLj4NiFrvLBu2jaEj7JeMR6w)
|
||||
[](https://tippin.me/@lukechilds)
|
||||
|
||||
> A Virtualised Raspberry Pi inside a Docker image
|
||||
|
||||
Gives you access to a virtualised ARM based Raspberry Pi machine running the Raspian operating system.
|
||||
|
||||
This is not just a Raspian Docker image, it's a full ARM based Raspberry Pi virtual machine environment.
|
||||
|
||||
## Usage
|
||||
|
||||
```
|
||||
docker run -it lukechilds/dockerpi
|
||||
```
|
||||
|
||||
## Build
|
||||
|
||||
Build this image yourself by checking out this repo, `cd` ing into it and running:
|
||||
|
||||
```
|
||||
docker build -t lukechilds/dockerpi .
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
MIT © Luke Childs
|
||||
Loading…
Add table
Add a link
Reference in a new issue