1 parent 54ed5de commit 7b8cfc2Copy full SHA for 7b8cfc2
2 files changed
.pre-commit-hooks.yaml
@@ -5,8 +5,6 @@
5
entry: /bin/bash /opt/run_pmd.sh
6
files: \.java$
7
require_serial: true
8
- args:
9
- - platform=linux/amd64
10
11
- id: cpd
12
name: cpd
@@ -15,8 +13,6 @@
15
13
entry: /bin/bash /opt/run_cpd.sh
16
14
17
18
19
20
21
- id: checkstyle
22
name: checkstyle
@@ -25,5 +21,3 @@
25
entry: /bin/bash /opt/run_checkstyle.sh
26
27
23
28
29
Dockerfile
@@ -1,6 +1,6 @@
1
-FROM openjdk:17-alpine
+FROM eclipse-temurin:17.0.6_10-jre
2
3
-RUN apk add --update --no-cache wget unzip curl bash jq
+RUN apt-get update && apt-get install --no-install-recommends -y ca-certificates wget unzip curl bash jq && rm -rf /var/lib/apt/lists/*
4
RUN mkdir -p /opt
RUN cd /opt \
0 commit comments