Skip to content

Commit

Permalink
fix issue with missing SSL certs when testing release on Debian/Ubuntu (
Browse files Browse the repository at this point in the history
  • Loading branch information
erratic-pattern authored Oct 25, 2023
1 parent 82bac4d commit 8dfd528
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cicd/docker/Dockerfile.debian.oldstable-slim
Original file line number Diff line number Diff line change
Expand Up @@ -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} \
Expand Down
2 changes: 2 additions & 0 deletions cicd/docker/Dockerfile.debian.stable-slim
Original file line number Diff line number Diff line change
Expand Up @@ -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} \
Expand Down
2 changes: 2 additions & 0 deletions cicd/docker/Dockerfile.debian.testing-slim
Original file line number Diff line number Diff line change
Expand Up @@ -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} \
Expand Down
2 changes: 2 additions & 0 deletions cicd/docker/Dockerfile.ubuntu.devel
Original file line number Diff line number Diff line change
Expand Up @@ -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} \
Expand Down
2 changes: 2 additions & 0 deletions cicd/docker/Dockerfile.ubuntu.latest
Original file line number Diff line number Diff line change
Expand Up @@ -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} \
Expand Down
2 changes: 2 additions & 0 deletions cicd/docker/Dockerfile.ubuntu.rolling
Original file line number Diff line number Diff line change
Expand Up @@ -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} \
Expand Down
2 changes: 2 additions & 0 deletions xtask/templates/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 8dfd528

Please sign in to comment.