Skip to content

Commit d86dba6

Browse files
committed
added --no-install-recommends
1 parent ec19e63 commit d86dba6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

microservices/dlstreamer-pipeline-server/sources.Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,9 @@ USER root
9696
RUN useradd -ms /bin/bash sourceuser
9797

9898
# Install tools and adjust permissions
99-
RUN apt-get update && apt-get install -y tree && \
99+
RUN apt-get update && apt-get install --no-install-recommends -y tree && \
100+
apt clean && \
101+
rm -rf /var/lib/apt/lists/* && \
100102
mkdir -p /opt && chown -R sourceuser:sourceuser /opt
101103

102104
# Copy sources

0 commit comments

Comments
 (0)