gbp: Build Bullseye image

This commit is contained in:
David Prevot 2022-06-28 13:38:20 +02:00
parent 204b71aa17
commit 229553785a
3 changed files with 38 additions and 0 deletions

View file

@ -16,6 +16,21 @@ pipeline {
}
}
stage('Build gbp (Bullseye)') {
steps {
script {
def deb = docker.build("evolix/gbp:build${env.BUILD_ID}", "gbp")
def deb = docker.build("evolix/php:build${env.BUILD_ID}", "-f php/Dockerfile.bullseye gbp")
deb.inside {
sh 'gbp --version'
}
/* No crendentials yet
deb.push('bullseye')
*/
}
}
}
stage('Build shellcheck') {
steps {
script {

View file

@ -14,6 +14,18 @@ steps:
repo: evolix/gbp
tags: latest
- name: build gbp (Bullseye)
image: plugins/docker
depends_on: []
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: gbp/Dockerfile.bullseye
repo: evolix/gbp
tags: bullseye
- name: build shellcheck
image: plugins/docker
depends_on: []

11
gbp/Dockerfile.bullseye Normal file
View file

@ -0,0 +1,11 @@
FROM debian:bullseye-slim
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
build-essential \
debhelper \
dh-exec \
git-buildpackage \
equivs \
devscripts \
&& rm -rf /var/lib/apt/lists/*