Skip to content

Commit ae88ea8

Browse files
committed
Reduce console output in container image builds
1 parent e60f609 commit ae88ea8

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

images/go/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Build Stage
22
FROM amazonlinux:2 as build-env
33

4-
RUN yum install -y git golang && \
4+
RUN yum install -q -y git golang && \
55
yum clean all
66

77
ARG MAIN_PATH
@@ -21,7 +21,7 @@ ENV APPUSER=appuser
2121
ENV APPUID=1000
2222
ENV APPGID=1000
2323

24-
RUN yum install -y \
24+
RUN yum install -q -y \
2525
shadow-utils && \
2626
yum clean all
2727

images/java17/Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@ COPY .mvn .mvn
1010
COPY mvnw .
1111
COPY pom.xml .
1212

13-
RUN ./mvnw dependency:go-offline -B
13+
RUN ./mvnw dependency:go-offline -B -q
1414

1515
COPY ./src ./src
1616

17-
RUN ./mvnw -DskipTests package && \
17+
RUN ./mvnw -DskipTests package -q && \
1818
mv /$JAR_PATH /app.jar
1919

2020
# Package Stage
2121
FROM amazoncorretto:17-al2-full
2222

2323
ARG aws_opentelemetry_agent_version=1.20.0
2424

25-
RUN yum install -y \
25+
RUN yum install -q -y \
2626
shadow-utils wget && \
2727
yum clean all
2828

images/nodejs/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM amazonlinux:2
22

3-
RUN yum install -y libstdc++.i686 glibc.i686 tar gzip xz && \
3+
RUN yum install -q -y libstdc++.i686 glibc.i686 tar gzip xz && \
44
yum clean all
55

66
ARG TARGETARCH

0 commit comments

Comments
 (0)