Skip to content

Commit

Permalink
修复native-image容器镜像构建报错问题
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinDai committed Feb 3, 2024
1 parent e113709 commit a155d05
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions docker/native-image-Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
FROM container-registry.oracle.com/graalvm/community:ol7-java17-22.3.2-b1 as builder
FROM container-registry.oracle.com/graalvm/graalvm-community:21.0.1-ol7-20231024 as builder

RUN gu install native-image
RUN yum install wget -y
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
RUN tar xf /tmp/apache-maven-3.8.6-bin.tar.gz -C /opt
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<jackson.version>2.15.2</jackson.version>
<kotlin-stdlib.version>1.6.20</kotlin-stdlib.version>
<logback.version>1.3.8</logback.version>
<lombok.version>1.18.24</lombok.version>
<lombok.version>1.18.30</lombok.version>
<okhttp3.version>4.10.0</okhttp3.version>
<openai-gpt3-java.version>0.12.0</openai-gpt3-java.version>
<reactive-streams.version>1.0.3</reactive-streams.version>
Expand Down
1 change: 1 addition & 0 deletions robot-web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
-H:ReflectionConfigurationFiles=classes/reflect.json
--no-fallback
--initialize-at-run-time=io.netty.handler.codec.compression.ZstdOptions
--initialize-at-run-time=io.netty.handler.ssl.BouncyCastleAlpnSslUtils
</buildArgs>
</configuration>
</plugin>
Expand Down

0 comments on commit a155d05

Please sign in to comment.