mirror of
https://github.com/Jguer/yay.git
synced 2024-11-06 17:17:22 +01:00
Add docker-build for development outside of arch environment
This commit is contained in:
parent
f21a5a7f1a
commit
56da655195
6
Makefile
6
Makefile
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user