Skip to content

Commit cea9a5f

Browse files
chrisvestnormanmaurer
authored andcommitted
Less verbosity in build logs (netty#15049)
Motivation: We don't particularly need thousands of lines of output from commands that are just setting up the build environment. Modification: - Remove verbose flags from tar commands; we don't need to know every single file extracted from these archives. - Tell SDKMAN to use a default config suitable for CI; this will make it less verbose when installing java versions. Result: Less build output in our logs that isn't relevant to our actual maven build.
1 parent 1d144d4 commit cea9a5f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docker/Dockerfile.centos6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ RUN yum install -y \
2222

2323

2424
# Downloading and installing SDKMAN!
25-
RUN curl -s "https://get.sdkman.io" | bash
25+
RUN curl -s "https://get.sdkman.io?ci=true" | bash
2626

2727
ARG java_version="8.0.302-zulu"
2828
ENV JAVA_VERSION $java_version

docker/Dockerfile.cross_compile_aarch64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ WORKDIR $SOURCE_DIR
1919

2020
# Install aarch64 gcc 10.2 toolchain
2121
RUN wget https://developer.arm.com/-/media/Files/downloads/gnu-a/$GCC_VERSION/binrel/gcc-arm-$GCC_VERSION-x86_64-aarch64-none-linux-gnu.tar.xz && \
22-
tar xvf gcc-arm-$GCC_VERSION-x86_64-aarch64-none-linux-gnu.tar.xz && mv gcc-arm-$GCC_VERSION-x86_64-aarch64-none-linux-gnu /opt/
22+
tar xf gcc-arm-$GCC_VERSION-x86_64-aarch64-none-linux-gnu.tar.xz && mv gcc-arm-$GCC_VERSION-x86_64-aarch64-none-linux-gnu /opt/
2323
ENV PATH="/opt/gcc-arm-$GCC_VERSION-x86_64-aarch64-none-linux-gnu/bin:${PATH}"
2424

2525
ENV JAVA_HOME="/usr/lib/jvm/java-1.8.0-openjdk/"

0 commit comments

Comments
 (0)