Dockerfile.isar: Escape special characters
Escape '&' '\&' as sed replace & with the search term. Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
parent
ba439d4200
commit
e905f0002d
@ -20,4 +20,4 @@ RUN echo "builder ALL=NOPASSWD: ALL" > /etc/sudoers.d/builder-nopasswd && \
|
||||
RUN echo "Defaults env_keep += \"ftp_proxy http_proxy https_proxy no_proxy\"" \
|
||||
> /etc/sudoers.d/env_keep && chmod 660 /etc/sudoers.d/env_keep
|
||||
|
||||
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