Adding QEMU static arm binary to build ARM images
This commit is contained in:
23
README.md
23
README.md
@@ -75,7 +75,7 @@
|
||||
modprobe tun
|
||||
```
|
||||
|
||||
1. **IF YOU HAVE AN ARM DEVICE, depending on your cpu architecture:** replace `qmcgaw/private-internet-access`
|
||||
1. **ONLY IF YOU HAVE AN ARM DEVICE, depending on your cpu architecture,** replace `qmcgaw/private-internet-access`
|
||||
with either `qmcgaw/private-internet-access:armhf` (32 bit) or `qmcgaw/private-internet-access:aarch64` (64 bit).
|
||||
|
||||
1. Launch the container with:
|
||||
@@ -246,6 +246,27 @@ services:
|
||||
# add more volumes etc.
|
||||
```
|
||||
|
||||
## ARM devices
|
||||
|
||||
If you want to save 3-5MB on the image (because of QEMU), use the following command on
|
||||
your ARM device:
|
||||
|
||||
- If your architecture is ARMHF (32 bit)
|
||||
|
||||
```sh
|
||||
docker build -t qmcgaw/private-internet-access:armhf \
|
||||
--build-arg BASE_IMAGE=arm32v6/alpine \
|
||||
https://github.com/qdm12/private-internet-access-docker.git
|
||||
```
|
||||
|
||||
- If your architecture is AARCH64 (64 bit)
|
||||
|
||||
```sh
|
||||
docker build -t qmcgaw/private-internet-access:aarch64 \
|
||||
--build-arg BASE_IMAGE=arm64v8/alpine \
|
||||
https://github.com/qdm12/private-internet-access-docker.git
|
||||
```
|
||||
|
||||
## For the paranoids
|
||||
|
||||
- You can review the code which essential consits in the [Dockerfile](https://github.com/qdm12/private-internet-access-docker/blob/master/Dockerfile) and [entrypoint.sh](https://github.com/qdm12/private-internet-access-docker/blob/master/entrypoint.sh)
|
||||
|
||||
Reference in New Issue
Block a user