Compare commits

...

11 commits

Author SHA1 Message Date
f
2cebac5f7c Merge branch 'antifascista' of ssh://gitea.nulo.in:420/Sutty/containers-skel into antifascista
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-06-04 15:18:42 -03:00
f
c90ba65374 alpine 3.16 2022-05-29 21:05:05 -03:00
f
f296c69754 let nokogiri install its own gem dependencies 2022-04-14 16:15:27 -03:00
f
4ac1583bcb CVE-2022-28391
https://security.alpinelinux.org/vuln/CVE-2022-28391
2022-04-04 16:08:10 -03:00
f
deaa49652f alpine releases
https://alpinelinux.org/posts/Alpine-3.12.11-3.13.9-3.14.5-3.15.3-released.html
2022-03-28 19:06:57 -03:00
f
e565c1380a woodpecker-cli lint 2022-03-19 14:48:54 -03:00
f
65304feb56 alpine upgrade 2022-03-19 14:46:16 -03:00
f
a299ab663f newer versions first 2022-03-08 09:43:09 -03:00
f
9a9ee411da alpine versions 2022-03-03 22:59:09 -03:00
f
3dfc34388c ci 2021-10-03 20:19:00 -03:00
f
c06dc5a527
Enable CI 2020-04-10 19:55:35 -03:00
3 changed files with 27 additions and 15 deletions

11
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,11 @@
stages:
- build
build:
stage: build
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
script:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA --destination $CI_REGISTRY_IMAGE:latest

View file

@ -1,24 +1,25 @@
pipeline:
publish:
image: plugins/docker
settings:
registry: registry.nulo.in
username: sutty
repo: registry.nulo.in/sutty/containers-gem-compiler
cache_from: registry.nulo.in/sutty/containers-gem-compiler
tags:
- ${ALPINE_VERSION}
- latest
build_args:
- ALPINE_VERSION=${ALPINE_VERSION}
- BASE_IMAGE=registry.nulo.in/sutty/containers-sdk-ruby
cache_from: registry.nulo.in/sutty/containers-gem-compiler
username: sutty
secrets:
- docker_password
when:
branch: antifascista
event: push
matrix:
ALPINE_VERSION:
- 3.13.6
- 3.14.6
- 3.16.0
- 3.15.4
- 3.14.6
- 3.13.10

View file

@ -1,5 +1,5 @@
ARG BASE_IMAGE=sutty/sdk-ruby
ARG ALPINE_VERSION=3.13.6
ARG BASE_IMAGE=sutty/sdk-ruby
FROM ${BASE_IMAGE}:${ALPINE_VERSION}
MAINTAINER "f <f@sutty.nl>"
@ -15,7 +15,7 @@ ENV EXTRA_PKGS=''
RUN id
RUN gem env
RUN ls -hal /usr/lib/ruby/gems/2.7.0
RUN gem install --no-user-install --no-document --source https://rubygems.org geminabox mini_portile2 gem-compiler
RUN gem install --no-user-install --no-document --source https://rubygems.org geminabox gem-compiler
COPY ./gem-compiler.sh /usr/local/bin/gem-compiler
COPY ./bootstrap.sh /usr/local/bin/bootstrap