Dockerfile: SHELL [/bin/bash] before Swift layer — fixes ${var//pattern} bash-ism that dash chokes on
This commit is contained in:
parent
4eab869df0
commit
101c8ec2e7
1 changed files with 5 additions and 0 deletions
|
|
@ -90,6 +90,11 @@ ENV DOTNET_CLI_TELEMETRY_OPTOUT=1 \
|
|||
DOTNET_NOLOGO=1
|
||||
|
||||
# ============================================================
|
||||
# Switch to bash for the bash-ism layers below (${var//pattern} etc).
|
||||
# Layers above (apt base / Node / Go / .NET) only use POSIX so they cached fine
|
||||
# under dash; SHELL is set here to invalidate the cache for layer 6+ only.
|
||||
SHELL ["/bin/bash", "-c"]
|
||||
|
||||
# 5. Swift (Ubuntu 22.04 tarball — works on Debian bookworm
|
||||
# because bookworm ships the right libicu/libstdc++ baseline)
|
||||
# ============================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue