Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Stud.IP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Marcus Eibrink-Lunzenauer
Stud.IP
Commits
91dc71b8
Commit
91dc71b8
authored
2 years ago
by
Jan-Hendrik Willms
Browse files
Options
Downloads
Patches
Plain Diff
Add image builder via kaniko, fixes #2610
Closes #2610 Merge request
studip/studip!1760
parent
87016e37
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+10
-0
10 additions, 0 deletions
.gitlab-ci.yml
docker/studip/Dockerfile
+3
-0
3 additions, 0 deletions
docker/studip/Dockerfile
with
13 additions
and
0 deletions
.gitlab-ci.yml
+
10
−
0
View file @
91dc71b8
...
...
@@ -263,6 +263,16 @@ packaging:
dotenv
:
.packaging.env
expire_in
:
never
build_image
:
image
:
name
:
gcr.io/kaniko-project/executor:debug
entrypoint
:
[
"
"
]
stage
:
build
variables
:
IMAGE_TAG
:
$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
script
:
-
/kaniko/executor --context=dir://${CI_PROJECT_DIR} --dockerfile ${CI_PROJECT_DIR}/docker/studip/Dockerfile --destination ${IMAGE_TAG} --cache=true
release
:
stage
:
release
image
:
studip/release-cli
...
...
This diff is collapsed.
Click to expand it.
docker/studip/Dockerfile
+
3
−
0
View file @
91dc71b8
...
...
@@ -51,6 +51,9 @@ WORKDIR /var/www/studip
# Add config template
COPY
./docker/studip/config_local.php ./config/config_local.inc.php
# Copy config
RUN
cp
./config/config.inc.php.dist ./config/config.inc.php
# Add custom entrypoint
COPY
./docker/studip/docker-entrypoint.sh /usr/local/bin/
RUN
chmod
u+x /usr/local/bin/docker-entrypoint.sh
...
...
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