Compare commits

...

76 commits

Author SHA1 Message Date
f
916ee511ef
Merge branch 'antifascista' of ssh://gitea.nulo.in:420/Sutty/containers-skel into antifascista
Some checks failed
ci/woodpecker/push/woodpecker/1 Pipeline was successful
ci/woodpecker/push/woodpecker/2 Pipeline failed
ci/woodpecker/push/woodpecker/3 Pipeline was successful
ci/woodpecker/push/woodpecker/4 Pipeline was successful
2024-10-23 10:40:46 -03:00
f
0e8b6ac71a
fix: move docker password to plugin config
https://github.com/woodpecker-ci/woodpecker/issues/4140#issuecomment-2369019247
2024-10-23 10:35:32 -03:00
f
5695625e74
Merge branch 'antifascista' of ssh://gitea.nulo.in:420/Sutty/containers-skel into antifascista
Some checks failed
ci/woodpecker/push/woodpecker/1 Pipeline failed
ci/woodpecker/push/woodpecker/2 Pipeline failed
ci/woodpecker/push/woodpecker/3 Pipeline is running
ci/woodpecker/push/woodpecker/4 Pipeline failed
2024-09-14 17:27:15 -03:00
f
fc1a12e592
fix: upgrade alpines 2024-09-14 17:25:35 -03:00
f
f96f125c1c
fix: ruby 3.3.3
All checks were successful
ci/woodpecker/push/woodpecker/1 Pipeline was successful
ci/woodpecker/push/woodpecker/2 Pipeline was successful
ci/woodpecker/push/woodpecker/3 Pipeline was successful
ci/woodpecker/push/woodpecker/4 Pipeline was successful
2024-07-25 11:08:23 -03:00
f
4d254a0874
Merge branch 'antifascista' of ssh://gitea.nulo.in:420/Sutty/containers-skel into antifascista
Some checks failed
ci/woodpecker/push/woodpecker/1 Pipeline failed
ci/woodpecker/push/woodpecker/2 Pipeline was successful
ci/woodpecker/push/woodpecker/3 Pipeline was successful
ci/woodpecker/push/woodpecker/4 Pipeline was successful
2024-07-23 10:20:57 -03:00
f
000ac53f39
feat: upgrades
https://alpinelinux.org/posts/Alpine-3.17.9-3.18.8-3.19.3-released.html

https://alpinelinux.org/posts/Alpine-3.20.2-released.html
2024-07-23 10:18:44 -03:00
f
9a8eef1e42
fix: AS [skip ci] 2024-06-21 13:04:31 -03:00
f
41354bbc95
fix: deprecate MAINTAINER 2024-06-21 12:21:51 -03:00
f
4eb8a6ff59
Merge branch 'antifascista' of ssh://gitea.nulo.in:420/Sutty/containers-skel into antifascista
Some checks failed
ci/woodpecker/push/woodpecker/1 Pipeline failed
ci/woodpecker/push/woodpecker/2 Pipeline failed
ci/woodpecker/push/woodpecker/3 Pipeline failed
ci/woodpecker/push/woodpecker/4 Pipeline failed
2024-06-19 10:17:13 -03:00
f
c0e6b8150b
refactor: use matrix so it's easier to merge downstream containers 2024-06-19 10:15:44 -03:00
f
f7da597784
feat: upgrade 2024-06-19 10:14:59 -03:00
f
af4e027735
BREAKING CHANGE: deprecate alpine 3.14
All checks were successful
ci/woodpecker/push/woodpecker/1 Pipeline was successful
ci/woodpecker/push/woodpecker/2 Pipeline was successful
ci/woodpecker/push/woodpecker/3 Pipeline was successful
ci/woodpecker/push/woodpecker/4 Pipeline was successful
2024-05-23 14:56:44 -03:00
f
7805baf704
fix: upgrade rubies 2024-05-23 14:56:35 -03:00
f
b9d1f8be3b
Merge branch 'antifascista' of ssh://gitea.nulo.in:420/Sutty/containers-skel into antifascista
Some checks failed
ci/woodpecker/push/woodpecker/1 Pipeline was successful
ci/woodpecker/push/woodpecker/2 Pipeline failed
ci/woodpecker/push/woodpecker/3 Pipeline failed
ci/woodpecker/push/woodpecker/4 Pipeline failed
ci/woodpecker/push/woodpecker/5 Pipeline was successful
2024-05-22 10:59:43 -03:00
f
b99a8111d8
feat: 3.20 released 2024-05-22 10:20:38 -03:00
f
aa086a76af
BREAKING CHANGE: deprecate 3.16 2024-05-22 10:20:27 -03:00
f
fed7849c43
Merge branch 'antifascista' of ssh://gitea.nulo.in:420/Sutty/containers-skel into antifascista 2024-02-13 13:24:16 -03:00
f
2a72840be0
fix: 3.15 eol 2024-02-13 13:22:59 -03:00
f
397dff920a
fix: upgrade alpine 2024-02-13 13:22:45 -03:00
f
e66b364db7
ci: pipeline is deprecated 2023-12-12 13:36:48 -03:00
f
d189e48029
Merge branch 'antifascista' of ssh://gitea.nulo.in:420/Sutty/containers-skel into antifascista
All checks were successful
ci/woodpecker/push/woodpecker/4 Pipeline was successful
ci/woodpecker/push/woodpecker/2 Pipeline was successful
ci/woodpecker/push/woodpecker/1 Pipeline was successful
ci/woodpecker/push/woodpecker/3 Pipeline was successful
2023-12-07 10:33:57 -03:00
f
b921379aa0
feat: alpine 3.19 2023-12-07 10:22:26 -03:00
f
8dd7d4605a
fix: bad commit 2023-12-04 11:06:47 -03:00
f
f20cc489bc
Merge branch 'antifascista' of ssh://gitea.nulo.in:420/Sutty/containers-skel into antifascista 2023-12-04 11:06:19 -03:00
f
d11e588f03
feat: alpine upgrades 2023-12-04 11:03:14 -03:00
f
fda86bc6ea
Merge branch 'antifascista' of ssh://gitea.nulo.in:420/Sutty/containers-skel into antifascista
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-09-28 12:27:29 -03:00
f
5085c7e8df
feat: alpine 3.18.4 2023-09-28 12:24:44 -03:00
f
1233c89aff fix: use proper namespaces 2023-08-24 11:50:53 -03:00
f
7cf343fbfc Merge branch 'antifascista' of ssh://gitea.nulo.in:420/Sutty/containers-skel into antifascista
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-08-08 11:28:38 -03:00
f
3dde92d4de BREAKING CHANGE: deprecate alpine 3.14 2023-08-08 11:18:21 -03:00
f
3e098e8c24 fix: upgrade alpines 2023-08-08 11:18:00 -03:00
f
dbb0134594 Merge branch 'antifascista' of ssh://gitea.nulo.in:420/Sutty/containers-skel into antifascista
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-06-15 12:37:38 -03:00
f
582b83d3fa fix: 3.18.2 2023-06-15 12:37:11 -03:00
f
6d0ff2a9c4 Merge branch 'antifascista' of ssh://gitea.nulo.in:420/Sutty/containers-skel into antifascista
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-06-14 13:11:26 -03:00
f
5d35cad642 feat: upgrade alpine
https://alpinelinux.org/posts/Alpine-3.15.9-3.16.6-3.17.4-3.18.2-released.html
2023-06-14 13:10:38 -03:00
f
d4b964486e BREAKING CHANGE: rename
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-05-10 13:00:03 -03:00
f
c3038aec31 fix: rename sdk 2023-05-10 12:59:48 -03:00
f
1e981e4851 Merge branch 'antifascista' of ssh://gitea.nulo.in:420/Sutty/containers-skel into antifascista 2023-05-10 12:44:56 -03:00
f
fedf64f2b9 feat: alpine 3.18 2023-05-10 12:41:25 -03:00
f
24c31e7eb8 fix: base registry 2023-04-04 18:03:51 -03:00
f
da19bd76f8 BREAKING CHANGE: use public gitea registry 2023-04-04 17:22:42 -03:00
f
b422099b76 fix: ruby cves
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-03-31 22:31:01 -03:00
f
ed077827ea Merge branch 'antifascista' of ssh://gitea.nulo.in:420/Sutty/containers-skel into antifascista
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-03-29 20:26:47 -03:00
f
1068b67884 feat: alpine upgrades 2023-03-29 16:32:41 -03:00
f
434501ef54 feat: alpine upgrade 2023-02-11 12:39:02 -03:00
f
63f20e23bc feat: ruby 2.7.7
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-02-04 13:21:46 -03:00
f
a7bddb12e8 fix: typo
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-02-04 13:20:01 -03:00
f
06676378e5 feat: ruby 3.1.3 2023-02-04 13:17:08 -03:00
f
238b418f58 fix: base_image 2023-02-04 13:13:25 -03:00
f
2a304a6321 BREAKING CHANGE: deprecate 3.15 and 3.16 2023-02-04 13:11:45 -03:00
f
5c21a038ce Merge branch 'antifascista' of ssh://gitea.nulo.in:420/Sutty/containers-skel into antifascista 2023-02-04 13:11:37 -03:00
f
dcf07f90e7 refactor: use strings 2023-01-14 16:09:32 -03:00
f
4aa380ee62 feat: alpine 3.17.1 2023-01-14 16:08:15 -03:00
f
1391fb941d Merge branch 'antifascista' of ssh://gitea.nulo.in:420/Sutty/containers-skel into antifascista
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-11-23 11:05:26 -03:00
f
c4d0c8ac35 feat: 3.17 upgrade 2022-11-23 10:58:48 -03:00
f
b0dadddbb0 fix: 3.16.3 bug release 2022-11-23 10:58:28 -03:00
f
c1e94bd27f fix: deprecate 3.13 2022-11-23 10:56:44 -03:00
f
2405f6bd1f Merge branch 'antifascista' of ssh://gitea.nulo.in:420/Sutty/containers-skel into antifascista
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-08-09 11:03:44 -03:00
f
0b354f4fea releases fixing zlib cve 2022-08-09 10:36:07 -03:00
f
15db5d52dd Merge branch 'antifascista' of ssh://gitea.nulo.in:420/Sutty/containers-skel into antifascista
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-07-19 18:49:24 -03:00
f
9c4de359fb alpine upgrades 2022-07-19 18:48:03 -03:00
f
e48ea379ef Merge branch 'antifascista' of ssh://gitea.nulo.in:420/Sutty/containers-skel into antifascista
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-06-04 15:11:27 -03:00
f
c90ba65374 alpine 3.16 2022-05-29 21:05:05 -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
c6b3f9b299 matrix
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-02-27 12:44:01 -03:00
f
f6215e8bfe remove gem-specific dependencies
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-02-27 12:39:54 -03:00
f
3dfc34388c ci 2021-10-03 20:19:00 -03:00
f
8cbc838790 don't create users
All checks were successful
continuous-integration/drone the build was successful
2021-09-29 15:57:11 -03:00
f
443597da4b base image 2021-09-29 15:57:01 -03:00
f
6a55cd5d8b Remove NPM
Some checks failed
continuous-integration/drone the build failed
2021-09-29 15:44:40 -03:00
2 changed files with 54 additions and 34 deletions

View file

@ -1,22 +1,34 @@
pipeline:
steps:
publish:
image: plugins/docker
registry: registry.nulo.in
repo: registry.nulo.in/sutty/containers-sdk-ruby
image: "docker.io/woodpeckerci/plugin-docker-buildx"
settings:
registry: "https://gitea.nulo.in"
username: "sutty"
repo: "gitea.nulo.in/sutty/sdk-ruby"
tags:
- ${ALPINE_VERSION}
- latest
- "${ALPINE_VERSION}-${RUBY_VERSION}.${RUBY_PATCH}"
- "latest"
build_args:
- ALPINE_VERSION=${ALPINE_VERSION}
- BASE_IMAGE=registry.nulo.in/sutty/containers-sdk
username: sutty
secrets:
- docker_password
- "RUBY_VERSION=${RUBY_VERSION}"
- "RUBY_PATCH=${RUBY_PATCH}"
- "ALPINE_VERSION=${ALPINE_VERSION}"
- "BASE_IMAGE=gitea.nulo.in/sutty/sdk"
password:
from_secret: "DOCKER_PASSWORD"
when:
branch: antifascista
event: push
branch: "antifascista"
event: "push"
matrix:
ALPINE_VERSION:
- 3.13.6
- 3.14.2
include:
- ALPINE_VERSION: "3.20.3"
RUBY_VERSION: "3.3"
RUBY_PATCH: "3"
- ALPINE_VERSION: "3.19.4"
RUBY_VERSION: "3.2"
RUBY_PATCH: "4"
- ALPINE_VERSION: "3.18.9"
RUBY_VERSION: "3.2"
RUBY_PATCH: "4"
- ALPINE_VERSION: "3.17.10"
RUBY_VERSION: "3.1"
RUBY_PATCH: "5"

View file

@ -1,20 +1,28 @@
ARG BASE_IMAGE=sutty/sdk-ruby
ARG ALPINE_VERSION=3.13.6
FROM ${BASE_IMAGE}:${ALPINE_VERSION}
MAINTAINER "f <f@sutty.nl>"
ARG BASE_IMAGE=gitea.nulo.in/sutty/containers-sdk
ARG EMAIL=monit@sutty.nl
FROM alpine:${ALPINE_VERSION} AS build
ARG RUBY_VERSION=2.7
ARG RUBY_PATCH=5
ENV EMAIL ${EMAIL:-monit@sutty.nl}
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 postgresql-dev sqlite-dev mariadb-dev
RUN apk add --no-cache linux-headers
RUN apk add --no-cache ruby~${RUBY_VERSION}.${RUBY_PATCH} patch
RUN addgroup -g 82 -S www-data
RUN adduser -s /bin/sh -G www-data -h /home/app -D app
RUN install -dm 2750 -o app -g www-data /home/app/sutty
# https://github.com/rubygems/rubygems/issues/2918
# https://gitlab.alpinelinux.org/alpine/aports/issues/10808
# Patch rubygems to install x86_64-linux-musl gems
COPY ./rubygems-platform-musl.patch /tmp/
RUN patch -d /usr/lib/ruby/2.7.0 -Np 0 -i /tmp/rubygems-platform-musl.patch
RUN cd /usr/lib/ruby/${RUBY_VERSION}.0 && patch -Np 0 -i /tmp/rubygems-platform-musl.patch || true
FROM ${BASE_IMAGE}:${ALPINE_VERSION}
ARG ALPINE_VERSION
LABEL org.opencontainers.image.authors="f@sutty.nl"
ARG RUBY_VERSION
ARG RUBY_PATCH
# Install ruby and extracted gems and copy patched rubygems
RUN apk add --no-cache tzdata ruby~${RUBY_VERSION}.${RUBY_PATCH} && rm /usr/lib/ruby/${RUBY_VERSION}.0/rubygems.rb
RUN apk add --no-cache ruby-json ruby-bigdecimal ruby-rake ruby-bundler ruby-irb ruby-io-console ruby-etc
COPY --from=build /usr/lib/ruby/${RUBY_VERSION}.0/rubygems.rb /usr/lib/ruby/${RUBY_VERSION}.0/
RUN apk add --no-cache ruby-dev
ENTRYPOINT /bin/sh