Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
Ragdoc Builder
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
JastAdd
Ragdoc Builder
Commits
eeb6baad
Commit
eeb6baad
authored
4 years ago
by
René Schöne
Browse files
Options
Downloads
Patches
Plain Diff
do not copy .gradle directory
parent
0e9104ec
No related branches found
No related tags found
No related merge requests found
Pipeline
#8718
passed
4 years ago
Stage: deploy
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+0
-2
0 additions, 2 deletions
.gitlab-ci.yml
Dockerfile
+0
-4
0 additions, 4 deletions
Dockerfile
with
0 additions
and
6 deletions
.gitlab-ci.yml
+
0
−
2
View file @
eeb6baad
...
...
@@ -9,8 +9,6 @@ deploy:
stage
:
deploy
tags
:
-
docker
only
:
-
master
script
:
-
docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
-
docker build -t "$IMG_NAME""$IMG_SUFFIX" .
...
...
This diff is collapsed.
Click to expand it.
Dockerfile
+
0
−
4
View file @
eeb6baad
FROM
openjdk:8
WORKDIR
/ragdoc-builder
COPY
.gradle /ragdoc-builder/.gradle
COPY
gradle /ragdoc-builder/gradle
COPY
gradlew /ragdoc-builder/
RUN
ls
-lha
RUN
chmod
+x ./gradlew
&&
./gradlew
--no-daemon
--version
ADD
. /ragdoc-builder/
RUN
chmod
+x start-builder.sh
...
...
@@ -11,6 +9,4 @@ RUN ./gradlew --no-daemon fatJar && rm -r gradle/ extendj/ src/ build/ gradlew b
ENV
BOOT_CLASSPATH="/usr/local/openjdk-8/jre/lib/rt.jar"
VOLUME
["/src"]
VOLUME
["/data"]
# ENTRYPOINT ["java", "-jar", "rd-builder.jar", "-d", "/data", "-bootclasspath", "$BOOT_CLASSPATH", "/src/*"]
# ENTRYPOINT ["./start-builder.sh"]
ENTRYPOINT
["/bin/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