mirror of
https://gitee.com/kennylee/docker.git
synced 2024-11-29 18:38:34 +08:00
更新gradle环境
This commit is contained in:
parent
15e86511ac
commit
449c69bb8a
@ -31,10 +31,6 @@ RUN set -o errexit -o nounset \
|
||||
&& echo "Symlinking root Gradle cache to gradle Gradle cache" \
|
||||
&& ln -s /home/gradle/.gradle /root/.gradle
|
||||
|
||||
# merge maven docker configuration by kennylee
|
||||
ENV USER_HOME_DIR="/home/gradle"
|
||||
ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2"
|
||||
|
||||
# Create Gradle volume
|
||||
USER gradle
|
||||
VOLUME "/home/gradle/.gradle"
|
||||
@ -44,4 +40,7 @@ RUN set -o errexit -o nounset \
|
||||
&& echo "Testing Gradle installation" \
|
||||
&& gradle --version
|
||||
|
||||
# merge maven docker configuration by kennylee
|
||||
ENV USER_HOME_DIR="/home/gradle"
|
||||
ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user