Skip to content

Commit c8f77d7

Browse files
authored
Merge pull request #34 from jtommy/main
8.0.0
2 parents 7dd400d + e65d656 commit c8f77d7

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

.github/workflows/docker-embedded-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
gfVersion:
77
description: 'The value of the glassfish.version property, used also to build the image.'
88
required: true
9-
default: '7.1.0'
9+
default: '8.0.0'
1010
basicImage:
1111
description: 'The basic docker image'
1212
required: true

.github/workflows/docker-server-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
gfVersion:
77
description: 'The value of the glassfish.version property, used also to build the image.'
88
required: true
9-
default: '7.1.0'
9+
default: '8.0.0'
1010
basicImage:
1111
description: 'The basic docker image'
1212
required: true

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<name>Eclipse Glassfish Docker Image Distribution</name>
1212

1313
<properties>
14-
<glassfish.version>7.1.0</glassfish.version>
14+
<glassfish.version>8.0.0</glassfish.version>
1515

1616
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1717

src/main/resources/images/server/Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ ARG AS_ADMIN_PASSWORD=admin \
1919
PATH_GF_PASSWORD_FILE_FOR_CHANGE=/password-change.txt \
2020
UID=1000 \
2121
GID=1000
22-
ENV PATH_GF_HOME=/opt/glassfish7 \
22+
ENV PATH_GF_HOME=/opt/glassfish \
2323
AS_ADMIN_USER=admin \
2424
AS_ADMIN_PASSWORDFILE=/password.txt
2525
ENV AS_USER=${AS_ADMIN_USER} \
@@ -47,8 +47,10 @@ RUN true \
4747
&& rm glassfish.zip.asc \
4848
&& echo "$GLASSFISH_DOWNLOAD_SHA512 glassfish.zip" | sha512sum --strict --check \
4949
&& mkdir -p "${PATH_GF_HOME}" \
50-
&& unzip -q glassfish.zip -d "${PATH_GF_HOME}/.." \
51-
&& rm glassfish.zip \
50+
&& TMPDIR=$(mktemp -d /opt/gfXXXX) \
51+
&& unzip -q glassfish.zip -d "$TMPDIR" \
52+
&& cp -r "$TMPDIR"/*/* "${PATH_GF_HOME}/" \
53+
&& rm -rf "$TMPDIR" glassfish.zip \
5254
&& userdel -r ubuntu \
5355
&& groupadd -g ${GID} glassfish \
5456
&& useradd -r -l -u ${UID} -g ${GID} -d "${PATH_GF_HOME}" -s /bin/bash glassfish \

0 commit comments

Comments
 (0)