Skip to content

Commit a8a14a3

Browse files
authored
Merge pull request #19 from cc-ar-emr/java11-upgrade
2 parents 23168bf + 8ee12fb commit a8a14a3

File tree

2 files changed

+34
-11
lines changed

2 files changed

+34
-11
lines changed

.devcontainer/development/Dockerfile

+10-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
FROM tomcat:9.0.56-jdk8-openjdk
1+
FROM openjdk:11-jdk-slim
2+
3+
# Set environment variables for Tomcat
4+
ENV CATALINA_HOME /usr/local/tomcat
5+
ENV PATH $CATALINA_HOME/bin:$PATH
6+
7+
# Copy Tomcat installation from the official Tomcat image
8+
COPY --from=tomcat:9.0.97 /usr/local/tomcat $CATALINA_HOME
29

310
# Labels
411
LABEL author="OpenOSP" \
@@ -16,8 +23,8 @@ WORKDIR /workspace
1623
RUN apt-get update && apt-get install -y --no-install-recommends \
1724
dos2unix curl git wget apt-transport-https ca-certificates gnupg lsb-release \
1825
locales iputils-ping gettext fontconfig libc6 libfreetype6 libjpeg62-turbo \
19-
libpng16-16 libssl1.1 libstdc++6 libx11-6 libxcb1 libxext6 libxtst6 \
20-
libxrender1 xfonts-75dpi xfonts-base zlib1g maven mariadb-client \
26+
libpng16-16 libssl-dev libstdc++6 libx11-6 libxcb1 libxext6 libxtst6 \
27+
libxrender1 libxi6 xfonts-75dpi xfonts-base zlib1g maven mariadb-client \
2128
nano openssh-client vim-tiny \
2229
&& apt-get clean && rm -rf /var/lib/apt/lists/*
2330

pom.xml

+24-8
Original file line numberDiff line numberDiff line change
@@ -2523,12 +2523,28 @@
25232523
<version>4.4.1</version>
25242524
</dependency>
25252525
<!-- Coming soon: JAVA 11 -->
2526-
<!--<dependency>-->
2527-
<!-- <groupId>com.sun.xml.ws</groupId>-->
2528-
<!-- <artifactId>jaxws-ri</artifactId>-->
2529-
<!-- <version>2.3.0</version>-->
2530-
<!-- <type>pom</type>-->
2531-
<!--</dependency>-->
2526+
<dependency>
2527+
<groupId>com.sun.xml.ws</groupId>
2528+
<artifactId>jaxws-ri</artifactId>
2529+
<version>2.3.3</version>
2530+
<type>pom</type>
2531+
</dependency>
2532+
<dependency>
2533+
<groupId>javax.xml.bind</groupId>
2534+
<artifactId>jaxb-api</artifactId>
2535+
<version>2.3.1</version>
2536+
</dependency>
2537+
<dependency>
2538+
<groupId>javax.annotation</groupId>
2539+
<artifactId>javax.annotation-api</artifactId>
2540+
<version>1.3.2</version>
2541+
</dependency>
2542+
<!-- Added for Tomcat9.0.97 -->
2543+
<dependency>
2544+
<groupId>com.sun.xml.bind</groupId>
2545+
<artifactId>jaxb-impl</artifactId>
2546+
<version>2.3.3</version>
2547+
</dependency>
25322548
<dependency>
25332549
<groupId>javax.servlet</groupId>
25342550
<artifactId>jstl</artifactId>
@@ -2681,8 +2697,8 @@
26812697
<artifactId>maven-compiler-plugin</artifactId>
26822698
<version>3.8.1</version>
26832699
<configuration>
2684-
<source>1.8</source>
2685-
<target>1.8</target>
2700+
<source>11</source>
2701+
<target>11</target>
26862702
</configuration>
26872703
</plugin>
26882704

0 commit comments

Comments
 (0)