Skip to content

Commit 1796324

Browse files
authored
Update docker files (#1620)
1 parent 9a6af35 commit 1796324

File tree

4 files changed

+10
-12
lines changed

4 files changed

+10
-12
lines changed

CHANGELOG.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
## v2.6.0 - active
44

5-
### Changes
6-
7-
### Potentially Breaking Changes
8-
95
## [v2.5.0 - 07/09/2024](https://github.com/eclipse-glsp/glsp/releases/tag/v2.5.0)
106

117
### Changes

docker/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Currently each image variant has at least the following components installed:
1616

1717
- Git >=2.17.1
1818
- Node 20, yarn 1.22.4 and lerna
19-
- OpenJDK 17 and Maven >=3.6.0
19+
- OpenJDK 21 and Maven >=3.6.0
2020
- Python and GCC libraries to enable [Theia](https://theia-ide.org/) builds
2121

2222
## License

docker/ci/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
- [`latest`, `ubuntu`, `ubuntu-v6.0`](https://github.com/eclipse-glsp/glsp/blob/master/docker/ci/ubuntu/Dockerfile)
1717
- [`uitest`,`uitest-v6.0`](https://github.com/eclipse-glsp/glsp/blob/master/docker/ci/uitest/Dockerfile)
1818

19-
- [`alpine`, `alpine-v6.0`](https://github.com/eclipse-glsp/glsp/blob/master/docker/ci/alpine/Dockerfile)
19+
- [`alpine`, `alpine-v7.1`, `alpine-v7.0`](https://github.com/eclipse-glsp/glsp/blob/master/docker/ci/alpine/Dockerfile)
2020

2121
Note that these tags are fluent and not bound to a fixed image version.
2222
If you want to use a fixed version you can use the base tag with a version suffix e.g. `ubuntu-v1.0`.
@@ -35,7 +35,7 @@ Currently each image variant has at least the following components installed:
3535

3636
- Git >=2.17.1
3737
- Node 20, yarn 1.22.19 and lerna
38-
- OpenJDK 17 and Maven >=3.6.0
38+
- OpenJDK 21 and Maven >=3.6.0
3939
- Python and GCC libraries to enable [Theia](https://theia-ide.org/) builds
4040

4141
## How to use this image
@@ -83,6 +83,8 @@ In addition, Google Chrome is installed which enables browser-based UI testing o
8383
- [v4.0](https://hub.docker.com/r/eclipseglsp/ci/tags?page=1&name=v4.0): Update to node 16
8484
- [v5.0](https://hub.docker.com/r/eclipseglsp/ci/tags?page=1&name=v5.0): Update to node 18, Java 17 and Alpine 3.17/Ubuntu 22.04
8585
- [v6.0](https://hub.docker.com/r/eclipseglsp/ci/tags?page=1&name=v6.0): Update to node 20
86+
- [v7.0](https://hub.docker.com/r/eclipseglsp/ci/tags?page=1&name=v7.0): Update to Java 21 (alpine only)
87+
- [v7.1](https://hub.docker.com/r/eclipseglsp/ci/tags?page=1&name=v7.1): Additionally install Java 11 (alpine only)
8688

8789
## License
8890

docker/ci/alpine/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# eclipseglsp/ci:alpine
2-
# 6.0
2+
# 7.1
33
FROM node:20-alpine3.22
44

55
# Install Java, Maven, Git and dependecies for Theia
6-
ENV JAVA_HOME="/usr/lib/jvm/default-jvm/"
7-
RUN apk add --no-cache openjdk17 maven git openssh \
6+
ENV JAVA_HOME="/usr/lib/jvm/java-21-openjdk"
7+
RUN apk add --no-cache openjdk21 openjdk11 maven git openssh \
88
make pkgconfig gcc g++ python3 libx11-dev libxkbfile-dev libsecret-dev rsync \
99
yarn curl
1010

1111
RUN npm install -g lerna
12-
# Has to be set explictly to find binaries
13-
ENV PATH=$PATH:${JAVA_HOME}/
12+
# Has to be set explictly to find binaries
13+
ENV PATH=$PATH:${JAVA_HOME}/bin
1414

1515
CMD ["/bin/sh"]

0 commit comments

Comments
 (0)