aboutsummarylogtreecommitdiffstats
path: root/Dockerfile
blob: 2b7d5a0482383238730d36c9b715a253f81774b8 (plain)
1
2
3
4
5
6
7
8
9
10
# - Edit PKGBUILD to change the version and hash
# - Build this with `docker build -t arch .`
# - Then run it with
# docker run -it --rm --mount type=bind,source=$(pwd),target=/tmp/ddev-bin --workdir=/tmp/ddev-bin arch bash -c "makepkg --printsrcinfo > .SRCINFO && makepkg -s"
# Then `git add -u` and commit and push
FROM archlinux:latest
RUN echo | pacman -Sy sudo binutils fakeroot docker docker-compose
RUN useradd builder
USER builder
CMD bash