Skip to content

Commit a155d05

Browse files
committed
修复native-image容器镜像构建报错问题
1 parent e113709 commit a155d05

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docker/native-image-Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
FROM container-registry.oracle.com/graalvm/community:ol7-java17-22.3.2-b1 as builder
1+
FROM container-registry.oracle.com/graalvm/graalvm-community:21.0.1-ol7-20231024 as builder
22

3-
RUN gu install native-image
43
RUN yum install wget -y
54
RUN wget https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.6/apache-maven-3.8.6-bin.tar.gz -P /tmp
65
RUN tar xf /tmp/apache-maven-3.8.6-bin.tar.gz -C /opt

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<jackson.version>2.15.2</jackson.version>
2727
<kotlin-stdlib.version>1.6.20</kotlin-stdlib.version>
2828
<logback.version>1.3.8</logback.version>
29-
<lombok.version>1.18.24</lombok.version>
29+
<lombok.version>1.18.30</lombok.version>
3030
<okhttp3.version>4.10.0</okhttp3.version>
3131
<openai-gpt3-java.version>0.12.0</openai-gpt3-java.version>
3232
<reactive-streams.version>1.0.3</reactive-streams.version>

robot-web/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@
9797
-H:ReflectionConfigurationFiles=classes/reflect.json
9898
--no-fallback
9999
--initialize-at-run-time=io.netty.handler.codec.compression.ZstdOptions
100+
--initialize-at-run-time=io.netty.handler.ssl.BouncyCastleAlpnSslUtils
100101
</buildArgs>
101102
</configuration>
102103
</plugin>

0 commit comments

Comments
 (0)