Compare commits

3 Commits

Author SHA1 Message Date
a84b7277cc fix variable decl 2022-08-25 14:56:37 +02:00
af010bb2be add buster 2022-08-25 14:55:05 +02:00
7950baabe6 add ssh config 2022-08-25 14:47:45 +02:00
2 changed files with 55 additions and 1 deletions

View File

@ -1,5 +1,6 @@
---
include:
- remote: 'https://git.scc.kit.edu/KIT-CERT/publish/-/raw/main/gitlab-ci/ssh-config.yml'
- remote: 'https://git.scc.kit.edu/KIT-CERT/publish/-/raw/main/gitlab-ci/build_image.yml'
- remote: 'https://git.scc.kit.edu/KIT-CERT/publish/-/raw/main/gitlab-ci/python-pkg.yml'
@ -16,7 +17,10 @@ stages:
- debian-package
.image-buster:
IMAGE_NAME: pkg_build-exim-encrypt-dlfunc/buster
variables:
IMAGE_NAME: pkg_build-exim-encrypt-dlfunc/buster
BUILD_FILE: Dockerfile.buster
TARGET_REPOSITORY: "buster"
.image-bullseye:
IMAGE_NAME: pkg_build-exim-encrypt-dlfunc/bullseye
@ -26,6 +30,16 @@ stages:
IMAGE_NAME: pkg_build-exim-encrypt-dlfunc/jammy
BUILD_FILE: Dockerfile.jammy
build_pkg_image_buster:
extends:
- .image-buster
- build_pkg_image
pkg_buster:
extends:
- .image-buster
- python_pkg
build_pkg_image_jammy:
extends:
- .image-jammy

View File

@ -0,0 +1,40 @@
FROM debian:latest
LABEL org.opencontainers.image.created=${BUILDTIMESTAMP} \
org.opencontainers.image.authors="Heiko Reese <reese@kit.edu>" \
org.opencontainers.image.title="exim build container" \
org.opencontainers.image.description="A buld environment for exim-encrypt-dlfunc" \
org.opencontainers.image.source="https://git.scc.kit.edu/mail/exim-encrypt-dlfunc/" \
org.opencontainers.image.licenses="Apache-2.0"
RUN apt-get update; \
DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get install --no-install-recommends -y \
build-essential \
exim4-daemon-heavy \
exim4-dev \
gcovr \
git \
libsodium-dev \
openssl \
pkg-config \
python3-pip \
libxml2-utils \
debhelper \
debsigs \
devscripts \
dh-make \
git-buildpackage \
gpgv1 \
meson \
less \
mc \
rsync \
openssh-client \
vim; \
DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get clean; \
rm -rf /var/lib/apt/lists/*;
RUN pip3 install --upgrade meson ninja; \
rm -rf ~/.cache/pip/*;
WORKDIR /mnt/