Skip to content
Snippets Groups Projects
Verified Commit 42f802cb authored by nd's avatar nd
Browse files

add bullseye image

parent 5d06a8fd
No related branches found
No related tags found
No related merge requests found
Pipeline #7268 failed
......@@ -6,3 +6,4 @@ build-buster:
script:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile.buster --destination $CI_REGISTRY_IMAGE/buster:$CI_COMMIT_TAG
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile.bullseye --destination $CI_REGISTRY_IMAGE/bullseye:$CI_COMMIT_TAG
FROM debian:bullseye AS uffd-base
RUN apt-get -qq update && \
apt-get -qq dist-upgrade && \
apt-get -qq install \
lsb-release openjdk-11-jre-headless curl \
sqlite3 locales-all git \
python3 python3-venv python3-coverage python3-ldap3 python3-flask python3-flask-sqlalchemy python3-flask-migrate \
python3-pip python3-qrcode python3-fido2 python3-flask-oauthlib python3-flask-babel python3-pytest python3-all python3-pip \
git-buildpackage debhelper && \
pip3 install pylint html5validator twine build --upgrade && \
apt-get -qq clean
FROM uffd-base AS openldap-base
RUN apt-get -qq update && \
pip3 install ansible --upgrade && \
ansible --version && \
mkdir -p /var/run/ && \
git clone --depth 1 "https://git.cccv.de/infra/ansible/roles/openldap.git" && \
git clone --depth 1 "https://git.cccv.de/infra/ansible/roles/certificates.git" && \
apt-get -qq clean
COPY ansible-inventory.yml inventory.yml
COPY ansible-playbook.yml playbook.yml
COPY ansible.cfg ansible.cfg
RUN ansible-playbook playbook.yml && \
rm -fr openldap certificates inventory.yml playbook.yml ansible.cfg
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment