Updated Dockerfile for multiplatform builds

This patch updates the main Dockerfile container build to use
the python:3.8-slim base image and installs aprsd from pypi.
This also results in a much smaller image.

Also added support for multiarchitecture builds so the same Dockerfile
builds for raspberry pi and linux/amd64
This commit is contained in:
Hemna 2021-02-16 10:05:11 -05:00
parent f0034fc517
commit c177748340
1 changed files with 1 additions and 1 deletions

View File

@ -7,5 +7,5 @@ docker buildx build --push --platform linux/arm/v7,linux/arm/v6,linux/arm64,linu
-t hemna6969/aprsd:$VERSION \
-t hemna6969/aprsd:latest \
-t 192.168.1.3:5000/hemna6969/aprsd:latest \
-t 192.168.1.3:5000/hemna669/aprsd:$VERSION \
-t 192.168.1.3:5000/hemna6969/aprsd:$VERSION \
-f Dockerfile .