Merge branch 'master' into antifascista
This commit is contained in:
commit
fd56ca4d4c
3 changed files with 20 additions and 2 deletions
|
@ -2,13 +2,13 @@ pipeline:
|
|||
publish:
|
||||
image: plugins/docker
|
||||
registry: registry.nulo.in
|
||||
repo: registry.nulo.in/sutty/CHANGEME
|
||||
repo: registry.nulo.in/sutty/repository
|
||||
tags:
|
||||
- ${ALPINE_VERSION}
|
||||
- latest
|
||||
build_args:
|
||||
- ALPINE_VERSION=${ALPINE_VERSION}
|
||||
- BASE_IMAGE=registry.nulo.in/sutty/monit
|
||||
- BASE_IMAGE=registry.nulo.in/sutty/sdk
|
||||
username: sutty
|
||||
secrets:
|
||||
- docker_password
|
||||
|
|
|
@ -2,3 +2,12 @@ ARG ALPINE_VERSION=3.13.6
|
|||
ARG BASE_IMAGE=sutty/monit
|
||||
FROM ${BASE_IMAGE}:${ALPINE_VERSION}
|
||||
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