git add Dockerfile README.md

meow
Dominika Liberda 2022-04-09 16:59:51 +02:00
parent 74be9c3c06
commit 62f1ea77d9
3 changed files with 5 additions and 20 deletions

View File

@ -5,12 +5,11 @@ RUN echo -e "http://alpine.sakamoto.pl/alpine/edge/main\nhttp://alpine.sakamoto.
VOLUME /aports
USER ci
COPY ./.abuild /home/ci/.abuild
USER domi
COPY ./.abuild /home/domi/.abuild
USER root
RUN cp /home/ci/.abuild/ci-6061e1c0.rsa.pub /etc/apk/keys/
USER ci
RUN cp /home/domi/.abuild/ci-6061e1c0.rsa.pub /etc/apk/keys/
USER domi
CMD ["ash"]

View File

@ -10,5 +10,5 @@ Setup:
- sync the current repo to a directory called `out`
```bash
docker run --rm -it -v "$(pwd):/aports" -v "$(pwd)/out:/home/ci/packages" -w "/pwd" builder
docker run --rm -it -v "$(pwd):/aports" -v "$(pwd)/out:/home/domi/packages" -w "/aports" builder
```

View File

@ -1,14 +0,0 @@
#!/bin/bash
set -euxo pipefail
echo 'permission test' > out/test
rm out/test
for repo in sakamoto; do
for pkg in $repo/*; do
cd $pkg
abuild -r
cd ../..
done
done