Dockerfile: use double quotes

Signed-off-by: Patrick Linnane <patrick@linnane.io>
This commit is contained in:
Patrick Linnane
2025-10-08 09:22:54 -07:00
parent d2f8176145
commit 7997c6c499
+1 -1
View File
@@ -18,7 +18,7 @@ RUN touch /var/mail/ubuntu && chown ubuntu /var/mail/ubuntu && userdel -r ubuntu
# /etc/lsb-release is checked inside the container and sets DISTRIB_RELEASE.
# We need `[` instead of `[[` because the shell is `/bin/sh`.
# shellcheck disable=SC1091,SC2154,SC2292
RUN bash -c 'for i in {1..5}; do apt-get update && break || sleep $((i)); done' \
RUN bash -c "for i in {1..5}; do apt-get update && break || sleep \$((i)); done" \
&& apt-get install -y --no-install-recommends software-properties-common gnupg-agent \
&& if [ "$(uname -m)" != aarch64 ]; then add-apt-repository -y ppa:git-core/ppa; fi \
&& apt-get update \