Add docker build for linux/amd64

This commit is contained in:
Igor Katson 2024-08-26 12:33:32 +01:00
parent 1506a3f83d
commit cf333a252a
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
3 changed files with 66 additions and 0 deletions

View file

@ -103,6 +103,14 @@ release-linux-x86_64:
CROSS_COMPILE_PREFIX=x86_64-unknown-linux-musl \
$(MAKE) release-linux-current-target
@PHONY: docker-x86_64
docker-x86_64:
docker build \
-f docker/Dockerfile \
-t ikatson/rqbit:$(shell git describe --tags) \
--platform linux/amd64 \
target/x86_64-unknown-linux-musl/release-github/
@PHONY: release-linux-aarch64
release-linux-aarch64:
TARGET=aarch64-unknown-linux-gnu \