Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
HFTSoftwareProject
DTABackend
Commits
d8949da8
Commit
d8949da8
authored
Feb 20, 2024
by
Lückemeyer
Browse files
moved to temurin and jdk 21 for easy arm64v8 multibuild
parent
a2baf5fc
Pipeline
#9116
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
d8949da8
# base image to build a JRE
FROM
amazoncorretto:17.0.3
-alpine as corretto-jdk
FROM
eclipse-temurin:21-jdk
-alpine as corretto-jdk
# required for strip-debug to work
RUN
apk add
--no-cache
binutils
...
...
@@ -32,8 +32,8 @@ ENV GID=$AGID
ARG
BUILD_NUMBER=
# Create docker group identical to host
RUN
addgroup
-
g
$GID
-
S
docker
RUN
adduser
--no-create-home
-u
1000
-
G
docker
-
D
$USER
RUN
addgroup
-
-gid
$GID
-
-system
docker
RUN
adduser
--no-create-home
-u
1000
-
-ingroup
docker
-
-disabled-password
$USER
# Prepare environment.
# Create needed folders
...
...
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