Docker cache gradle dependencies

后端 未结 4 1204
攒了一身酷
攒了一身酷 2020-12-12 22:41

I\'m trying to deploy our java web application to aws elastic beanstalk using docker, the idea is to be able to run the container locally for development and testing and eve

4条回答
  •  醉酒成梦
    2020-12-12 23:12

    try changing the gradle user home directory

    RUN mkdir -p /opt/gradle/.gradle
    ENV GRADLE_USER_HOME=/opt/gradle/.gradle

提交回复
热议问题