diff --git a/Dockerfile b/Dockerfile index 59c5898..992945c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,2 +1,11 @@ -FROM sutty/monit:latest +FROM sutty/sdk:latest MAINTAINER "f " + +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 diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..41f87b7 --- /dev/null +++ b/build.sh @@ -0,0 +1,9 @@ +#!/bin/sh +set -e + +export PATH=/usr/lib/ccache/bin:$PATH + +cd /home/builder/package + +abuild checksum +abuild -r