# This defines the distribution base layer
# Put only the bare minimum of common commands here, without dev tools
+@IF [ ${BUILDER_TARGET} = centos-7 ]
FROM centos:7 as dist-base
+@ENDIF
+@IF [ ${BUILDER_TARGET} = centos-7-amd64 ]
+FROM amd64/centos:7 as dist-base
+@ENDIF
+
ARG BUILDER_CACHE_BUSTER=
RUN touch /var/lib/rpm/* && yum install -y epel-release centos-release-scl-rh
RUN touch /var/lib/rpm/* && yum install -y --nogpgcheck devtoolset-8-gcc-c++
--- /dev/null
+Dockerfile.target.centos-7
\ No newline at end of file
# This defines the distribution base layer
# Put only the bare minimum of common commands here, without dev tools
+@IF [ ${BUILDER_TARGET} = centos-8 ]
FROM centos:8 as dist-base
+@ENDIF
+@IF [ ${BUILDER_TARGET} = centos-8-amd64 ]
+FROM amd64/centos:8 as dist-base
+@ENDIF
+@IF [ ${BUILDER_TARGET} = centos-8-arm64 ]
+FROM arm64v8/centos:8 as dist-base
+@ENDIF
ARG BUILDER_CACHE_BUSTER=
RUN touch /var/lib/rpm/* && yum install -y epel-release && \
dnf install -y 'dnf-command(config-manager)' && \
--- /dev/null
+Dockerfile.target.centos-8
\ No newline at end of file
--- /dev/null
+Dockerfile.target.centos-8
\ No newline at end of file
# First do the source builds
@INCLUDE Dockerfile.target.sdist
+@IF [ ${BUILDER_TARGET} = debian-buster ]
FROM debian:buster as dist-base
+@ENDIF
+@IF [ ${BUILDER_TARGET} = debian-buster-amd64 ]
+FROM amd64/debian:buster as dist-base
+@ENDIF
+@IF [ ${BUILDER_TARGET} = debian-buster-arm64 ]
+FROM arm64v8/debian:buster as dist-base
+@ENDIF
+
ARG BUILDER_CACHE_BUSTER=
ARG APT_URL
RUN apt-get update && apt-get -y dist-upgrade
--- /dev/null
+Dockerfile.target.debian-buster
\ No newline at end of file
--- /dev/null
+Dockerfile.target.debian-buster
\ No newline at end of file
# First do the source builds
@INCLUDE Dockerfile.target.sdist
+@IF [ ${BUILDER_TARGET} = ubuntu-bionic ]
FROM ubuntu:bionic as dist-base
+@ENDIF
+@IF [ ${BUILDER_TARGET} = ubuntu-bionic-amd64 ]
+FROM amd64/ubuntu:bionic as dist-base
+@ENDIF
+@IF [ ${BUILDER_TARGET} = ubuntu-bionic-arm64 ]
+FROM arm64v8/ubuntu:bionic as dist-base
+@ENDIF
ARG BUILDER_CACHE_BUSTER=
ARG APT_URL
RUN apt-get update && apt-get -y dist-upgrade
--- /dev/null
+Dockerfile.target.ubuntu-bionic
\ No newline at end of file
--- /dev/null
+Dockerfile.target.ubuntu-bionic
\ No newline at end of file
# First do the source builds
@INCLUDE Dockerfile.target.sdist
+@IF [ ${BUILDER_TARGET} = ubuntu-focal ]
FROM ubuntu:focal as dist-base
+@ENDIF
+@IF [ ${BUILDER_TARGET} = ubuntu-focal-amd64 ]
+FROM amd64/ubuntu:focal as dist-base
+@ENDIF
+@IF [ ${BUILDER_TARGET} = ubuntu-focal-arm64 ]
+FROM arm64v8/ubuntu:focal as dist-base
+@ENDIF
ARG BUILDER_CACHE_BUSTER=
ARG APT_URL
RUN apt-get update && apt-get -y dist-upgrade
--- /dev/null
+Dockerfile.target.ubuntu-focal
\ No newline at end of file
--- /dev/null
+Dockerfile.target.ubuntu-focal
\ No newline at end of file