parent
d582476e12
commit
63fcab0d4b
2 changed files with 25 additions and 3 deletions
22
.woodpecker.yml
Normal file
22
.woodpecker.yml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
pipeline:
|
||||||
|
publish:
|
||||||
|
image: plugins/docker
|
||||||
|
registry: registry.nulo.in
|
||||||
|
repo: registry.nulo.in/sutty/containers-sdk-ruby
|
||||||
|
tags:
|
||||||
|
- ${ALPINE_VERSION}
|
||||||
|
- latest
|
||||||
|
build_args:
|
||||||
|
- ALPINE_VERSION=${ALPINE_VERSION}
|
||||||
|
- BASE_IMAGE=registry.nulo.in/sutty/containers-sdk
|
||||||
|
username: sutty
|
||||||
|
secrets:
|
||||||
|
- docker_password
|
||||||
|
when:
|
||||||
|
branch: antifascista
|
||||||
|
event: push
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
ALPINE_VERSION:
|
||||||
|
- 3.13.6
|
||||||
|
- 3.14.2
|
|
@ -1,12 +1,12 @@
|
||||||
FROM sutty/sdk:latest
|
ARG BASE_IMAGE=sutty/sdk-ruby
|
||||||
|
ARG ALPINE_VERSION=3.13.6
|
||||||
|
FROM ${BASE_IMAGE}:${ALPINE_VERSION}
|
||||||
MAINTAINER "f <f@sutty.nl>"
|
MAINTAINER "f <f@sutty.nl>"
|
||||||
ENV VERSION 2.7.2
|
|
||||||
|
|
||||||
RUN apk add --no-cache git nodejs nodejs-npm yarn tzdata libxslt-dev libxml2-dev
|
RUN apk add --no-cache git nodejs nodejs-npm yarn tzdata libxslt-dev libxml2-dev
|
||||||
RUN apk add --no-cache ruby-dev ruby-bundler ruby-json ruby-bigdecimal ruby-rake ruby-etc
|
RUN apk add --no-cache ruby-dev ruby-bundler ruby-json ruby-bigdecimal ruby-rake ruby-etc
|
||||||
RUN apk add --no-cache postgresql-dev sqlite-dev mariadb-dev
|
RUN apk add --no-cache postgresql-dev sqlite-dev mariadb-dev
|
||||||
RUN apk add --no-cache linux-headers
|
RUN apk add --no-cache linux-headers
|
||||||
RUN test "$VERSION" = `ruby -e 'puts RUBY_VERSION'`
|
|
||||||
|
|
||||||
RUN addgroup -g 82 -S www-data
|
RUN addgroup -g 82 -S www-data
|
||||||
RUN adduser -s /bin/sh -G www-data -h /home/app -D app
|
RUN adduser -s /bin/sh -G www-data -h /home/app -D app
|
||||||
|
|
Loading…
Reference in a new issue