Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
overleaf-ldap
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
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
Service Desk
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
FS Info TU Dortmund
Administration
overleaf-ldap
Commits
c10c1220
Verified
Commit
c10c1220
authored
3 years ago
by
David Mehren
Browse files
Options
Downloads
Patches
Plain Diff
Use dependency proxy
parent
58141013
No related branches found
No related tags found
No related merge requests found
Pipeline
#26955
passed
3 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+4
-0
4 additions, 0 deletions
.gitlab-ci.yml
Dockerfile
+4
-1
4 additions, 1 deletion
Dockerfile
with
8 additions
and
1 deletion
.gitlab-ci.yml
+
4
−
0
View file @
c10c1220
...
...
@@ -4,6 +4,8 @@ image: docker:latest
variables
:
DOCKER_DRIVER
:
overlay2
DOCKER_BUILDKIT
:
1
TEXLIVE_IMAGE_UPSTREAM
:
texlive/texlive:latest
TEXLIVE_IMAGE
:
${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/${TEXLIVE_IMAGE_UPSTREAM}
# Docker in Docker Service
services
:
...
...
@@ -12,6 +14,7 @@ services:
before_script
:
-
docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
-
docker login -u "$CI_DEPENDENCY_PROXY_USER" -p "$CI_DEPENDENCY_PROXY_PASSWORD" $CI_DEPENDENCY_PROXY_SERVER
-
source environment
build-main
:
...
...
@@ -55,6 +58,7 @@ build:
-
docker build
--build-arg BUILDKIT_INLINE_CACHE=1
--build-arg LDAP_PLUGIN_URL="${LDAP_PLUGIN_URL}"
--build-arg TEXLIVE_IMAGE="${TEXLIVE_IMAGE}"
--build-arg login_text="${LOGIN_TEXT}"
--build-arg collab_text="${COLLAB_TEXT}"
--pull
...
...
This diff is collapsed.
Click to expand it.
Dockerfile
+
4
−
1
View file @
c10c1220
ARG
BASE=docker.io/sharelatex/sharelatex:2.6.1
ARG
TEXLIVE_IMAGE=registry.gitlab.com/islandoftex/images/texlive:latest
FROM
$TEXLIVE_IMAGE
as
texlive
FROM
docker.io/nixpkgs/curl
as
src
ARG
LDAP_PLUGIN_URL=https://codeload.github.com/smhaller/ldap-overleaf-sl/tar.gz/master
...
...
@@ -51,5 +54,5 @@ RUN rm /var/www/sharelatex/web/app/views/admin/register.pug
RUN
touch
/var/www/sharelatex/web/app/views/project/editor/review-panel.pug
# Update TeXLive
COPY
--from=
registry.gitlab.com/islandoftex/images/texlive:latest
/usr/local/texlive /usr/local/texlive
COPY
--from=
texlive
/usr/local/texlive /usr/local/texlive
RUN
tlmgr path add
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