xbps-builder: Add xbps-build and fetch default last changes
parent
9e44047d61
commit
854f697c08
@ -1,5 +1,4 @@
|
|||||||
FROM d.xr.to/base:glibc
|
FROM d.xr.to/base:glibc
|
||||||
COPY files/fakedchroot.sh /_fakedchroot.sh
|
COPY files/* /opt/dxrto/
|
||||||
COPY files/setup-fakedchroot.sh /
|
RUN chmod a+x /opt/dxrto/setup-fakedchroot /opt/dxrto/fakedchroot.sh /opt/dxrto/xbps-build && /opt/dxrto/setup-fakedchroot && ln -s /opt/dxrto/xbps-build /bin/xbps-build
|
||||||
RUN bash /setup-fakedchroot.sh && rm /setup-fakedchroot.sh
|
|
||||||
WORKDIR '/_workdir'
|
WORKDIR '/_workdir'
|
||||||
|
@ -0,0 +1,12 @@
|
|||||||
|
#!/usr/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
cd /_workdir;
|
||||||
|
|
||||||
|
echo "Updating srcpkgs";
|
||||||
|
git checkout .;
|
||||||
|
git pull --ff;
|
||||||
|
echo "Fixing fakedchroot";
|
||||||
|
/opt/dxrto/setup-fakedchroot --fix;
|
||||||
|
echo "Running build";
|
||||||
|
./xbps-src pkg "$@";
|
Loading…
Reference in New Issue