Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CoTA
cota-backend
Commits
d8949da8
Commit
d8949da8
authored
1 year ago
by
Lückemeyer
Browse files
Options
Download
Email Patches
Plain Diff
moved to temurin and jdk 21 for easy arm64v8 multibuild
parent
a2baf5fc
master
amg-dev-volumes
amg-svn+ssh
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+3
-3
Dockerfile
with
3 additions
and
3 deletions
+3
-3
Dockerfile
+
3
-
3
View file @
d8949da8
# base image to build a JRE
# 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
# required for strip-debug to work
RUN
apk add
--no-cache
binutils
RUN
apk add
--no-cache
binutils
...
@@ -32,8 +32,8 @@ ENV GID=$AGID
...
@@ -32,8 +32,8 @@ ENV GID=$AGID
ARG
BUILD_NUMBER=
ARG
BUILD_NUMBER=
# Create docker group identical to host
# Create docker group identical to host
RUN
addgroup
-
g
$GID
-
S
docker
RUN
addgroup
-
-gid
$GID
-
-system
docker
RUN
adduser
--no-create-home
-u
1000
-
G
docker
-
D
$USER
RUN
adduser
--no-create-home
-u
1000
-
-ingroup
docker
-
-disabled-password
$USER
# Prepare environment.
# Prepare environment.
# Create needed folders
# Create needed folders
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets