File tree 2 files changed +34
-11
lines changed
.devcontainer/development
2 files changed +34
-11
lines changed 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
2
9
3
10
# Labels
4
11
LABEL author="OpenOSP" \
@@ -16,8 +23,8 @@ WORKDIR /workspace
16
23
RUN apt-get update && apt-get install -y --no-install-recommends \
17
24
dos2unix curl git wget apt-transport-https ca-certificates gnupg lsb-release \
18
25
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 \
21
28
nano openssh-client vim-tiny \
22
29
&& apt-get clean && rm -rf /var/lib/apt/lists/*
23
30
Original file line number Diff line number Diff line change 2523
2523
<version >4.4.1</version >
2524
2524
</dependency >
2525
2525
<!-- 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 >
2532
2548
<dependency >
2533
2549
<groupId >javax.servlet</groupId >
2534
2550
<artifactId >jstl</artifactId >
2681
2697
<artifactId >maven-compiler-plugin</artifactId >
2682
2698
<version >3.8.1</version >
2683
2699
<configuration >
2684
- <source >1.8 </source >
2685
- <target >1.8 </target >
2700
+ <source >11 </source >
2701
+ <target >11 </target >
2686
2702
</configuration >
2687
2703
</plugin >
2688
2704
You can’t perform that action at this time.
0 commit comments