Skip to content

Commit d39618c

Browse files
committed
Fix docker build
1 parent 5c1c67d commit d39618c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@
1010
# See the License for the specific language governing permissions and
1111
# limitations under the License.
1212

13-
FROM gradle:6.7.1-jdk11 AS builder
13+
FROM gradle:7.0-jdk11 AS builder
1414

1515
RUN mkdir /code
1616
WORKDIR /code
1717

1818
ENV GRADLE_USER_HOME=/code/.gradlecache
1919

20-
COPY ./build.gradle ./gradle.properties ./settings.gradle /code/
20+
COPY ./build.gradle.kts ./gradle.properties ./settings.gradle.kts /code/
2121

22-
RUN gradle downloadDependencies copyDependencies startScripts
22+
RUN gradle downloadDependencies copyDependencies startScripts --no-watch-fs
2323

2424
COPY ./src /code/src
2525

26-
RUN gradle jar
26+
RUN gradle jar --no-watch-fs
2727

2828
FROM openjdk:11-jre-slim
2929

0 commit comments

Comments
 (0)