+ run.sh because I'm lazy
parent
58c74cdd1d
commit
6d5b98a695
|
@ -1,7 +1,7 @@
|
|||
FROM alpine:edge
|
||||
|
||||
RUN echo -e "http://alpine.sakamoto.pl/alpine/edge/main\nhttp://alpine.sakamoto.pl/alpine/edge/community\nhttp://alpine.sakamoto.pl/alpine/edge/testing" > /etc/apk/repositories \
|
||||
&& apk update && apk add micro abuild atools sudo && adduser -G abuild -D -u 1001 domi && echo "domi ALL=(ALL) ALL" > /etc/sudoers
|
||||
&& apk update && apk add micro abuild atools sudo && adduser -G abuild -D -u 1001 domi && echo "domi ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers
|
||||
|
||||
VOLUME /aports
|
||||
|
||||
|
|
|
@ -6,9 +6,9 @@ The recommended way for building the packages is Docker.
|
|||
|
||||
Setup:
|
||||
- ensure that you have the private key in `.abuild/`
|
||||
- build the image using `docker build -t builder .`
|
||||
- build the image using `docker build -t meow .`
|
||||
- sync the current repo to a directory called `out`
|
||||
|
||||
```bash
|
||||
docker run --rm -it -v "$(pwd):/aports" -v "$(pwd)/out:/home/domi/packages" -w "/aports" builder
|
||||
./run.sh
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue