Update spring-boot-loader-tests to use docker-test plugin
See gh-41228
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
FROM ubuntu:jammy-20240405 as prepare
|
||||
COPY downloads/* /opt/download/
|
||||
RUN mkdir -p /opt/jdk && \
|
||||
cd /opt/jdk && \
|
||||
tar xzf /opt/download/* --strip-components=1
|
||||
|
||||
FROM ubuntu:jammy-20240405
|
||||
COPY --from=prepare /opt/jdk /opt/jdk
|
||||
ENV JAVA_HOME /opt/jdk
|
||||
ENV PATH $JAVA_HOME/bin:$PATH
|
||||
@@ -0,0 +1,5 @@
|
||||
This folder contains a Dockerfile that will create an Oracle JDK instance for use in integration tests.
|
||||
The resulting Docker image should not be published.
|
||||
|
||||
Oracle JDK is subject to the https://www.oracle.com/downloads/licenses/no-fee-license.html["Oracle No-Fee Terms and Conditions" License (NFTC)] license.
|
||||
We are specifically using the unmodified JDK for the purposes of developing and testing.
|
||||
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<configuration>
|
||||
<include resource="org/springframework/boot/logging/logback/base.xml"/>
|
||||
</configuration>
|
||||
Reference in New Issue
Block a user