repository builder (see sports)

This commit is contained in:
f 2020-07-27 16:41:02 -03:00
parent c06dc5a527
commit d1bf053a0e
2 changed files with 19 additions and 1 deletions

View file

@ -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
View file

@ -0,0 +1,9 @@
#!/bin/sh
set -e
export PATH=/usr/lib/ccache/bin:$PATH
cd /home/builder/package
abuild checksum
abuild -r