diff options
-rw-r--r-- | docker/gradle/Dockerfile | 2 | ||||
-rw-r--r-- | docker/gradle/readme.md | 13 | ||||
-rw-r--r-- | docker/maven/readme.md | 2 | ||||
-rw-r--r-- | docker/provision/gradle/gradle-5.1.1.sh | 4 |
4 files changed, 13 insertions, 8 deletions
diff --git a/docker/gradle/Dockerfile b/docker/gradle/Dockerfile index 77f08fe2..0b6f8d4c 100644 --- a/docker/gradle/Dockerfile +++ b/docker/gradle/Dockerfile @@ -4,7 +4,7 @@ ARG jdk=11 ADD provision/jdk/java-${jdk}.sh provision/jdk/java-${jdk}.sh
RUN provision/jdk/java-${jdk}.sh
-ARG gradle=4.10.2
+ARG gradle=5.1.1
ADD provision/gradle/gradle-${gradle}.sh provision/gradle/gradle-${gradle}.sh
RUN provision/gradle/gradle-${gradle}.sh
diff --git a/docker/gradle/readme.md b/docker/gradle/readme.md index 9744d0ad..a106b569 100644 --- a/docker/gradle/readme.md +++ b/docker/gradle/readme.md @@ -2,11 +2,12 @@ [_(general configuration and options)_](../readme.md) -### `ARG gradle=4.10.2` +### `ARG gradle=5.1.1` The gradle version to be used. Supported values: -- `4.10.2` (default) +- `5.1.1` (default) +- `4.10.2` - `4.7` - `4.2.1` @@ -15,17 +16,17 @@ The gradle version to be used. Supported values: (To be executed from the `<lombokhome>/docker` directory) ``` -docker build -t lombok-gradle-jdk10 -f gradle/Dockerfile . +docker build -t lombok-gradle-jdk11 -f gradle/Dockerfile . -docker build -t lombok-gradle-jdk10 --build-arg lombokjar=lombok-1.16.20.jar -f gradle/Dockerfile . +docker build -t lombok-gradle-jdk11 --build-arg lombokjar=lombok-1.16.20.jar -f gradle/Dockerfile . ``` ## Example run commands: ``` -docker run -it lombok-gradle-jdk10 +docker run -it lombok-gradle-jdk11 -docker run --rm -it -v /<lombokhome>/dist/lombok.jar:/workspace/lombok.jar lombok-gradle-jdk10 +docker run --rm -it -v /<lombokhome>/dist/lombok.jar:/workspace/lombok.jar lombok-gradle-jdk11 ``` ## Example container commands: diff --git a/docker/maven/readme.md b/docker/maven/readme.md index ee9bb0fa..8a784eb8 100644 --- a/docker/maven/readme.md +++ b/docker/maven/readme.md @@ -24,7 +24,7 @@ docker build -t lombok-maven-jdk11 --build-arg lombokjar=lombok-1.16.20.jar -f m ``` docker run -it lombok-maven-jdk11 -docker run --rm -it -v /<lombokhome>/dist/lombok.jar:/workspace/lombok.jar lombok-maven-jdk10 +docker run --rm -it -v /<lombokhome>/dist/lombok.jar:/workspace/lombok.jar lombok-maven-jdk11 ``` ## Example container commands: diff --git a/docker/provision/gradle/gradle-5.1.1.sh b/docker/provision/gradle/gradle-5.1.1.sh new file mode 100644 index 00000000..1bbce91a --- /dev/null +++ b/docker/provision/gradle/gradle-5.1.1.sh @@ -0,0 +1,4 @@ +apt-get update && apt-get install -y wget unzip +wget https://services.gradle.org/distributions/gradle-5.1.1-bin.zip -O gradle.zip +mkdir /opt/gradle && unzip -d /opt/gradle gradle.zip +mv /opt/gradle/gradle-5.1.1 /opt/gradle/gradle |