此Dockerfile:
FROM openjdk:7
WORKDIR /restdocs/
RUN git clone https://github.com/spring-projects/spring-restdocs.git /restdocs
RUN git checkout v1.1.2.RELEASE
RUN ./gradlew build使用docker build . -t rest-notes构建会导致以下错误:Exception in thread "main" javax.net.ssl.SSLException: java.security.ProviderException: java.security.InvalidKeyException: EC parameters error。
我可以在Dockerfile中做些什么来避免这种情况并使Gradle包装器工作?
https://stackoverflow.com/questions/47789963
复制相似问题