repository builder (see sports)
This commit is contained in:
parent
c06dc5a527
commit
d1bf053a0e
2 changed files with 19 additions and 1 deletions
11
Dockerfile
11
Dockerfile
|
@ -1,2 +1,11 @@
|
|||
FROM sutty/monit:latest
|
||||
FROM sutty/sdk:latest
|
||||
MAINTAINER "f <f@sutty.nl>"
|
||||
|
||||
COPY ./build.sh /usr/local/bin/build
|
||||
RUN chmod 755 /usr/local/bin/build
|
||||
RUN echo 'https://alpine.sutty.nl/alpine/v3.12/sutty' >> /etc/apk/repositories
|
||||
RUN wget https://alpine.sutty.nl/alpine/sutty.pub -O /etc/apk/keys/alpine@sutty.nl-5ea884cd.rsa.pub
|
||||
RUN apk update || true
|
||||
|
||||
USER builder
|
||||
ENTRYPOINT /usr/local/bin/build
|
||||
|
|
9
build.sh
Executable file
9
build.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
export PATH=/usr/lib/ccache/bin:$PATH
|
||||
|
||||
cd /home/builder/package
|
||||
|
||||
abuild checksum
|
||||
abuild -r
|
Loading…
Reference in a new issue