File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,7 @@ COPY ./ /app/
2424RUN export JAVA_HOME=/usr/lib/jvm/java-17-openjdk
2525RUN JAVA_HOME=/usr/lib/jvm/java-17-openjdk mvn clean install -DskipTests=true
2626
27- FROM registry.access.redhat.com/ubi9/ubi-minimal as gopls-build
28- RUN microdnf install -y go-toolset && microdnf clean all && rm -rf /var/cache/dnf
27+ FROM golang:1.23 as gopls-build
2928RUN go install golang.org/x/tools/gopls@latest
3029
3130FROM registry.access.redhat.com/ubi9/ubi-minimal
@@ -44,7 +43,7 @@ ENV M2_HOME /usr/local/apache-maven-3.9.5
4443RUN mkdir /root/.gradle
4544COPY ./gradle/build.gradle /root/.gradle/task.gradle
4645
47- COPY --from=gopls-build /root/ go/bin/gopls /root/go/bin/gopls
46+ COPY --from=gopls-build /go/bin/gopls /root/go/bin/gopls
4847COPY --from=jdtls-download /jdtls /jdtls/
4948COPY --from=addon-build /root/.m2/repository/io/konveyor/tackle/java-analyzer-bundle.core/1.0.0-SNAPSHOT/java-analyzer-bundle.core-1.0.0-SNAPSHOT.jar /jdtls/java-analyzer-bundle/java-analyzer-bundle.core/target/
5049COPY --from=fernflower /output/fernflower.jar /bin/fernflower.jar
You can’t perform that action at this time.
0 commit comments