diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6d9b6eaaa7c434d11861346baca75a37612ca653..f37e060f21107b52e887d270a347e3add636bd06 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 0000000000000000000000000000000000000000..7677b91e4352019dfcb649f9f24b8c8f440a945c --- /dev/null +++ b/debian/bullseye/Dockerfile @@ -0,0 +1,28 @@ +FROM debian:bullseye-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/*