File tree Expand file tree Collapse file tree
.devcontainer/development Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
411LABEL author="OpenOSP" \
@@ -16,8 +23,8 @@ WORKDIR /workspace
1623RUN 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
Original file line number Diff line number Diff line change 14311431 <version >4.4.1</version >
14321432 </dependency >
14331433 <!-- Coming soon: JAVA 11 -->
1434- <!-- <dependency>-->
1435- <!-- <groupId>com.sun.xml.ws</groupId>-->
1436- <!-- <artifactId>jaxws-ri</artifactId>-->
1437- <!-- <version>2.3.0</version>-->
1438- <!-- <type>pom</type>-->
1439- <!-- </dependency>-->
1434+ <dependency >
1435+ <groupId >com.sun.xml.ws</groupId >
1436+ <artifactId >jaxws-ri</artifactId >
1437+ <version >2.3.3</version >
1438+ <type >pom</type >
1439+ </dependency >
1440+ <dependency >
1441+ <groupId >javax.xml.bind</groupId >
1442+ <artifactId >jaxb-api</artifactId >
1443+ <version >2.3.1</version >
1444+ </dependency >
1445+ <dependency >
1446+ <groupId >javax.annotation</groupId >
1447+ <artifactId >javax.annotation-api</artifactId >
1448+ <version >1.3.2</version >
1449+ </dependency >
1450+ <!-- Added for Tomcat9.0.97 -->
1451+ <dependency >
1452+ <groupId >com.sun.xml.bind</groupId >
1453+ <artifactId >jaxb-impl</artifactId >
1454+ <version >2.3.3</version >
1455+ </dependency >
14401456 <dependency >
14411457 <groupId >javax.servlet</groupId >
14421458 <artifactId >jstl</artifactId >
15341550 <artifactId >maven-compiler-plugin</artifactId >
15351551 <version >3.8.1</version >
15361552 <configuration >
1537- <source >1.8 </source >
1538- <target >1.8 </target >
1553+ <source >11 </source >
1554+ <target >11 </target >
15391555 </configuration >
15401556 </plugin >
15411557
You can’t perform that action at this time.
0 commit comments