@@ -11,6 +11,9 @@ FROM gcc:${GCC_VERSION}-${DEBIAN_VERSION} AS gcc-src
1111# ====================== BASE IMAGE ======================
1212FROM debian:${DEBIAN_VERSION} AS base
1313
14+ # Use Bash as the default shell for RUN commands.
15+ SHELL ["/bin/bash" , "-c" ]
16+
1417# Associate the image with the repository.
1518ARG GITHUB_REPO=XRPLF/ci
1619LABEL org.opencontainers.image.source=https://github.com/${GITHUB_REPO}
@@ -26,21 +29,21 @@ RUN set -ex ;\
2629
2730# Install tools that are shared by all stages.
2831RUN <<EOF
29- pkgs=()
30- pkgs+=(build-essential) # Required build tools.
31- pkgs+=(ca-certificates) # Enable TLS verification for HTTPS connections by providing trusted root certificates.
32- pkgs+=(cmake) # Required build tool.
33- pkgs+=(curl) # Dependency for tools requiring downloading data.
34- pkgs+=(git) # Required build tool.
35- pkgs+=(gpg) # Dependency for tools requiring signing or encrypting/decrypting.
36- pkgs+=(jq) # Pretty printing.
37- pkgs+=(ninja-build) # Required build tool.
38- apt install -y "${pkgs[@]}"
32+ pkgs=()
33+ pkgs+=(build-essential) # Required build tools.
34+ pkgs+=(ca-certificates) # Enable TLS verification for HTTPS connections by providing trusted root certificates.
35+ pkgs+=(cmake) # Required build tool.
36+ pkgs+=(curl) # Dependency for tools requiring downloading data.
37+ pkgs+=(git) # Required build tool.
38+ pkgs+=(gpg) # Dependency for tools requiring signing or encrypting/decrypting.
39+ pkgs+=(jq) # Pretty printing.
40+ pkgs+=(ninja-build) # Required build tool.
41+ pkgs+=(pipx) # Package manager for Python applications.
42+ apt install -y "${pkgs[@]}"
3943EOF
4044
4145# Install Conan.
4246ARG CONAN_VERSION=2.17.0
43- RUN apt install -y pipx
4447RUN PIPX_HOME=/opt/pipx \
4548 PIPX_BIN_DIR=/usr/bin \
4649 PIPX_MAN_DIR=/usr/share/man \
0 commit comments