Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
docker-images
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
uffd
docker-images
Commits
42f802cb
Verified
Commit
42f802cb
authored
3 years ago
by
nd
Browse files
Options
Downloads
Patches
Plain Diff
add bullseye image
parent
5d06a8fd
No related branches found
No related tags found
No related merge requests found
Pipeline
#7268
failed
3 years ago
Stage: build
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-0
1 addition, 0 deletions
.gitlab-ci.yml
Dockerfile.bullseye
+29
-0
29 additions, 0 deletions
Dockerfile.bullseye
with
30 additions
and
0 deletions
.gitlab-ci.yml
+
1
−
0
View file @
42f802cb
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Dockerfile.bullseye
0 → 100644
+
29
−
0
View file @
42f802cb
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment