From 5b679d9f68fdef26bcfda098e62653e19a471cb1 Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Mon, 3 Jan 2022 14:09:11 -0800 Subject: [PATCH] Add image for Debian Bullseye --- .gitlab-ci.yml | 18 ++++++++++++++++++ debian/bullseye/Dockerfile | 28 ++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 debian/bullseye/Dockerfile diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ed76b25..38fc662 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -49,6 +49,24 @@ build-golang-dev: except: - master +# Debian Bullseye builds +build-debian-bullseye-build-master: + stage: deploy + script: + - docker build --pull -t "$CI_REGISTRY_IMAGE/debian:bullseye" ./debian/bullseye + - docker push "$CI_REGISTRY_IMAGE/debian:bullseye" + only: + - master + when: manual + +build-debian-bullseye-build-dev: + stage: deploy + script: + - docker build --pull -t "$CI_REGISTRY_IMAGE/debian:bullseye-dev" ./debian/bullseye + - docker push "$CI_REGISTRY_IMAGE/debian:bullseye-dev" + except: + - master + # Debian Buster builds build-debian-buster-build-master: stage: deploy diff --git a/debian/bullseye/Dockerfile b/debian/bullseye/Dockerfile new file mode 100644 index 0000000..02c96ec --- /dev/null +++ b/debian/bullseye/Dockerfile @@ -0,0 +1,28 @@ +FROM debian:bulleye-slim + +LABEL maintainer="ethitter" +LABEL version="1.0" + +RUN echo "deb http://security.debian.org/debian-security bullseye-security main contrib non-free" >> /etc/apt/sources.list + +RUN apt-get update \ + && apt-get -y --no-install-recommends install \ + apt-transport-https \ + lsb-release \ + ca-certificates \ + curl \ + git \ + dh-make \ + build-essential \ + autoconf \ + autotools-dev \ + libpcre3 \ + libpcre3-dev \ + libz-dev \ + gnupg \ + libssl-dev \ + devscripts \ + lintian \ + fakeroot \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* -- GitLab