Skip to content

Commit ab89b61

Browse files
dockerfile java 17 fix
1 parent d3c4fc6 commit ab89b61

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

DockerfileJava17

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@ ARG SONAR_VERSION=5.0.1.3006
1919
ARG SONAR_SCANNER_CLI=sonar-scanner-cli-${SONAR_VERSION}
2020
ARG SONAR_SCANNER=sonar-scanner-${SONAR_VERSION}
2121

22-
RUN apt-get update \
23-
&& apt-get install -y nodejs curl \
24-
&& apt-get clean
22+
# RUN apt-get update \
23+
# && apt-get install -y nodejs curl \
24+
# && apt-get clean
25+
26+
RUN apk --no-cache add nodejs curl unzip
2527

2628
COPY --from=build /go/src/github.com/diegopereiraeng/harness-cie-sonarqube-scanner/harness-sonar /bin/
2729
WORKDIR /bin

0 commit comments

Comments
 (0)