Skip to content
Snippets Groups Projects
Commit 91dc71b8 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

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
......@@ -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
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment