Build AUR packages inside a docker container (and upload it to DataManager).
Pull the Image:
docker pull jojii/buildaur:latest
Build an AUR pagkage:
docker run -it -e REPO='glogg' jojii/buildaur:latest
This will compile tha AUR package 'glogg'. You can replace it with any other AUR package.
To install the package on your Arch installation, use pacman -U <package>.pkg.tar.xz
. If you used DataManager to upload the built package, you have to download the package first.
This docker images supports uploading the compiled package to a DataManagerServer (an alternative cloud storage system with support for filesharing). To use it, you have to add some envars to the docker command:
docker run -it \
-e REPO='glogg' \
-e DM_URL ='<DataManagerURL>' \
-e DM_USER='<DataManagerUser>' \
-e DM_TOKEN='<DataManagerToken>' \
jojii/buildaur:latest
The DM_URL
must be set to the URL of the DataManagerServer.
The DM_USER
var must be set to the username of an existing DataManager User.
The DM_TOKEN
must be a vaild sessiontoken of the given DM_USER!