Add docker-build for development outside of arch environment

This commit is contained in:
Jguer 2019-04-04 12:14:34 +01:00
parent f21a5a7f1a
commit 56da655195

View File

@ -72,6 +72,12 @@ docker-release-x86_64:
docker-release: | docker-release-x86_64 docker-release-aarch64
docker-build:
docker build -f build/${ARCH}.Dockerfile --build-arg MAKE_ARG=build -t yay-build-${ARCH}:${VERSION} .
docker create --name yay-build-${ARCH} yay-build-${ARCH}:${VERSION}
docker cp yay-build-${ARCH}:${BINNAME} ${BINNAME}
docker container rm yay-build-${ARCH}
package: release
tar -czvf ${PACKAGE}.tar.gz ${PACKAGE}
clean: