diff --git a/cicd/docker/Dockerfile.debian.oldstable-slim b/cicd/docker/Dockerfile.debian.oldstable-slim index 3a11023a..fe8eecd5 100644 --- a/cicd/docker/Dockerfile.debian.oldstable-slim +++ b/cicd/docker/Dockerfile.debian.oldstable-slim @@ -11,6 +11,8 @@ ENV CT_DEBUG=${DEBUG} ENV CT_INSTALL_PREREQUISITES=${INSTALL_PREREQUISITES} # fixes apt-get issue on Debian and Ubuntu images where packages were missing RUN apt-get update +# fixes issue with missing certs on Debian and Ubuntu +RUN apt-get install ca-certificates COPY ./install.sh /tmp/ctinstall.sh RUN chmod 755 /tmp/ctinstall.sh && /tmp/ctinstall.sh \ ${CT_INSTALL_PREREQUISITES:+ --install-prerequisites} \ diff --git a/cicd/docker/Dockerfile.debian.stable-slim b/cicd/docker/Dockerfile.debian.stable-slim index ddda1fbf..5f7c6a2a 100644 --- a/cicd/docker/Dockerfile.debian.stable-slim +++ b/cicd/docker/Dockerfile.debian.stable-slim @@ -11,6 +11,8 @@ ENV CT_DEBUG=${DEBUG} ENV CT_INSTALL_PREREQUISITES=${INSTALL_PREREQUISITES} # fixes apt-get issue on Debian and Ubuntu images where packages were missing RUN apt-get update +# fixes issue with missing certs on Debian and Ubuntu +RUN apt-get install ca-certificates COPY ./install.sh /tmp/ctinstall.sh RUN chmod 755 /tmp/ctinstall.sh && /tmp/ctinstall.sh \ ${CT_INSTALL_PREREQUISITES:+ --install-prerequisites} \ diff --git a/cicd/docker/Dockerfile.debian.testing-slim b/cicd/docker/Dockerfile.debian.testing-slim index c93de987..02bcf2f4 100644 --- a/cicd/docker/Dockerfile.debian.testing-slim +++ b/cicd/docker/Dockerfile.debian.testing-slim @@ -11,6 +11,8 @@ ENV CT_DEBUG=${DEBUG} ENV CT_INSTALL_PREREQUISITES=${INSTALL_PREREQUISITES} # fixes apt-get issue on Debian and Ubuntu images where packages were missing RUN apt-get update +# fixes issue with missing certs on Debian and Ubuntu +RUN apt-get install ca-certificates COPY ./install.sh /tmp/ctinstall.sh RUN chmod 755 /tmp/ctinstall.sh && /tmp/ctinstall.sh \ ${CT_INSTALL_PREREQUISITES:+ --install-prerequisites} \ diff --git a/cicd/docker/Dockerfile.ubuntu.devel b/cicd/docker/Dockerfile.ubuntu.devel index abc2a699..de5b02ad 100644 --- a/cicd/docker/Dockerfile.ubuntu.devel +++ b/cicd/docker/Dockerfile.ubuntu.devel @@ -11,6 +11,8 @@ ENV CT_DEBUG=${DEBUG} ENV CT_INSTALL_PREREQUISITES=${INSTALL_PREREQUISITES} # fixes apt-get issue on Debian and Ubuntu images where packages were missing RUN apt-get update +# fixes issue with missing certs on Debian and Ubuntu +RUN apt-get install ca-certificates COPY ./install.sh /tmp/ctinstall.sh RUN chmod 755 /tmp/ctinstall.sh && /tmp/ctinstall.sh \ ${CT_INSTALL_PREREQUISITES:+ --install-prerequisites} \ diff --git a/cicd/docker/Dockerfile.ubuntu.latest b/cicd/docker/Dockerfile.ubuntu.latest index 6896c117..08ec8a6e 100644 --- a/cicd/docker/Dockerfile.ubuntu.latest +++ b/cicd/docker/Dockerfile.ubuntu.latest @@ -11,6 +11,8 @@ ENV CT_DEBUG=${DEBUG} ENV CT_INSTALL_PREREQUISITES=${INSTALL_PREREQUISITES} # fixes apt-get issue on Debian and Ubuntu images where packages were missing RUN apt-get update +# fixes issue with missing certs on Debian and Ubuntu +RUN apt-get install ca-certificates COPY ./install.sh /tmp/ctinstall.sh RUN chmod 755 /tmp/ctinstall.sh && /tmp/ctinstall.sh \ ${CT_INSTALL_PREREQUISITES:+ --install-prerequisites} \ diff --git a/cicd/docker/Dockerfile.ubuntu.rolling b/cicd/docker/Dockerfile.ubuntu.rolling index 2b370fba..97aed91b 100644 --- a/cicd/docker/Dockerfile.ubuntu.rolling +++ b/cicd/docker/Dockerfile.ubuntu.rolling @@ -11,6 +11,8 @@ ENV CT_DEBUG=${DEBUG} ENV CT_INSTALL_PREREQUISITES=${INSTALL_PREREQUISITES} # fixes apt-get issue on Debian and Ubuntu images where packages were missing RUN apt-get update +# fixes issue with missing certs on Debian and Ubuntu +RUN apt-get install ca-certificates COPY ./install.sh /tmp/ctinstall.sh RUN chmod 755 /tmp/ctinstall.sh && /tmp/ctinstall.sh \ ${CT_INSTALL_PREREQUISITES:+ --install-prerequisites} \ diff --git a/xtask/templates/Dockerfile b/xtask/templates/Dockerfile index e87a0c1a..3a70f8c6 100644 --- a/xtask/templates/Dockerfile +++ b/xtask/templates/Dockerfile @@ -12,6 +12,8 @@ ENV CT_INSTALL_PREREQUISITES=${INSTALL_PREREQUISITES} {% if image == TestOs::Ubuntu || image == TestOs::Debian -%} # fixes apt-get issue on Debian and Ubuntu images where packages were missing RUN apt-get update +# fixes issue with missing certs on Debian and Ubuntu +RUN apt-get install ca-certificates {% endif -%} COPY ./install.sh /tmp/ctinstall.sh RUN chmod 755 /tmp/ctinstall.sh && /tmp/ctinstall.sh \