Dockerfile.isar: Silence chatty sbuild-adduser
Unfortunately, just filtering stdout is not sufficient because this tool also improperly uses stderr for printing cp /usr/share/doc/sbuild/examples/example.sbuildrc /builder/.sbuildrc But we can assume all will be fine with it in our environment. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
parent
41b52b1263
commit
f3aa8303eb
@ -17,5 +17,5 @@ RUN apt-get update && \
|
|||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||||
|
|
||||||
RUN sed -i 's|\tGOSU="gosu builder"|\0\n\tsbuild-adduser builder|' /kas/container-entrypoint
|
RUN sed -i 's|\tGOSU="gosu builder"|\0\n\tsbuild-adduser builder >/dev/null 2>&1|' /kas/container-entrypoint
|
||||||
RUN sed -i 's|#!/bin/bash|\0\n\nupdate-binfmts --enable \&\& [ -f /proc/sys/fs/binfmt_misc/status ]|' /kas/container-entrypoint
|
RUN sed -i 's|#!/bin/bash|\0\n\nupdate-binfmts --enable \&\& [ -f /proc/sys/fs/binfmt_misc/status ]|' /kas/container-entrypoint
|
||||||
|
Loading…
Reference in New Issue
Block a user