Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
memoriav
Memobase 2020
services
ExternalAPIs
OAI
Commits
dd87bc73
Commit
dd87bc73
authored
Oct 18, 2021
by
Jonas Waeber
Browse files
Fix deploy version and remove unnecessary lines from Dockerfiles
parent
509a796d
Pipeline
#35034
passed with stages
in 3 minutes and 16 seconds
Changes
5
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
dd87bc73
#FROM hseeberger/scala-sbt:8u252_1.3.12_2.13.2 AS build
FROM
hseeberger/scala-sbt:11.0.8_1.4.1_2.13.3 as build
ADD
. /
WORKDIR
/
RUN
sbt clean
RUN
sbt stage
# Build deployable Docker image
#FROM openjdk:8-jre-alpine
FROM
amd64/adoptopenjdk:11-jre
COPY
--from=build target/universal/stage /app/
#RUN apk update
#RUN apk upgrade
#RUN apk add bash
#see https://github.com/docker-library/openjdk/issues/289
#RUN apk add --no-cache nss
WORKDIR
/app
CMD
./start.process.sh
CMD
./start.process.sh
\ No newline at end of file
helm-charts/helm-values/api-oai-prod.yaml
View file @
dd87bc73
tag
:
"
latest"
k8sEnvironment
:
prod
k8sReplicas
:
1
...
...
helm-charts/helm-values/api-oai-stage.yaml
View file @
dd87bc73
tag
:
"
latest"
k8sEnvironment
:
stage
k8sReplicas
:
1
...
...
helm-charts/helm-values/api-oai-test.yaml
View file @
dd87bc73
tag
:
"
latest"
k8sEnvironment
:
test
k8sReplicas
:
1
...
...
helm-charts/values.yaml
View file @
dd87bc73
registry
:
"
cr.gitlab.switch.ch"
image
:
"
memoriav/memobase-2020/services/externalapis/oai"
tag
:
p
la
ceholder
tag
:
"
la
test"
k8sName
:
oai
k8sNamespace
:
memobase
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment