Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions docker/debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ RUN pipx install --pip-args='--no-cache' conan==${CONAN_VERSION} && \
# ====================== GCC IMAGE ======================
FROM base AS gcc

# This is not inherited from base image, ensure no manual interaction needed.
# These are not inherited from base image.
ARG DEBIAN_VERSION
ARG DEBIAN_FRONTEND=noninteractive

# Copy GCC from the source image, make the package manager aware of its
Expand Down Expand Up @@ -156,13 +157,13 @@ EOF
# ===================== CLANG IMAGE =====================
FROM base AS clang

# This is not inherited from base image, ensure no manual interaction needed.
# These are not inherited from base image.
ARG DEBIAN_VERSION
ARG DEBIAN_FRONTEND=noninteractive

# Install Clang. Use the LLVM apt repository to access the latest versions. We
# must repeat the DEBIAN_VERSION argument here, as it is not inherited from the
# base or source images. Some build dependencies require GCC to be also available.
ARG DEBIAN_VERSION
ARG CLANG_VERSION
RUN <<EOF
apt-get update
Expand Down
6 changes: 6 additions & 0 deletions docker/rhel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ RUN pip install --no-cache conan==${CONAN_VERSION} gcovr==${GCOVR_VERSION}
# ====================== GCC IMAGE ======================
FROM base AS gcc

# This is not inherited from base image.
ARG RHEL_VERSION

# Install GCC. Red Hat installs GCC as a Software Collection (SCL) package,
# where typically you would run `scl enable gcc-toolset-X` to open another Bash
# shell with the GCC toolset enabled. To avoid having to do so, we delete the
Expand Down Expand Up @@ -122,6 +125,9 @@ EOF
# ===================== CLANG IMAGE =====================
FROM base AS clang

# This is not inherited from base image.
ARG RHEL_VERSION

# Install Clang. Note that in the RHEL UBIs, we cannot choose the Clang version
# to install and we get what is available. Some build dependencies require GCC
# to be also available.
Expand Down
4 changes: 4 additions & 0 deletions docker/tools-rippled/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ ENV PIPX_HOME=/opt/pipx \

FROM base AS clang-format

# These are not inherited from base image.
ARG UBUNTU_VERSION
ARG DEBIAN_FRONTEND=noninteractive

# Install clang-format.
ARG CLANG_FORMAT_VERSION
ARG PRE_COMMIT_VERSION
Expand Down
6 changes: 4 additions & 2 deletions docker/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ RUN pipx install --pip-args='--no-cache' conan==${CONAN_VERSION} && \
# ====================== GCC IMAGE ======================
FROM base AS gcc

# This is not inherited from base image, ensure no manual interaction needed.
# These are not inherited from base image.
ARG UBUNTU_VERSION
ARG DEBIAN_FRONTEND=noninteractive

# Install GCC and create the necessary symlinks. We only support packaging with
Expand Down Expand Up @@ -140,7 +141,8 @@ EOF
# ===================== CLANG IMAGE =====================
FROM base AS clang

# This is not inherited from base image, ensure no manual interaction needed.
# These are not inherited from base image.
ARG UBUNTU_VERSION
ARG DEBIAN_FRONTEND=noninteractive

# Install Clang. Some build dependencies require GCC to be also available.
Expand Down