diff --git a/stx/dockerfiles/stx-aptly.Dockerfile b/stx/dockerfiles/stx-aptly.Dockerfile index d4e65919..9f7328a1 100644 --- a/stx/dockerfiles/stx-aptly.Dockerfile +++ b/stx/dockerfiles/stx-aptly.Dockerfile @@ -33,6 +33,9 @@ MAINTAINER mark.asselstine@windriver.com COPY --from=builder /go/nginx_signing.key nginx_signing.key +# Update certificates +RUN apt-get -q -y update && apt-get -y install --no-install-recommends ca-certificates && update-ca-certificates + # Add Nginx repository and install required packages RUN apt-get -q update && apt-get -y install gnupg2 && \ echo "deb http://nginx.org/packages/debian/ bullseye nginx" > /etc/apt/sources.list.d/nginx.list && \ diff --git a/stx/dockerfiles/stx-builder.Dockerfile b/stx/dockerfiles/stx-builder.Dockerfile index 1df34b90..e6903e0b 100644 --- a/stx/dockerfiles/stx-builder.Dockerfile +++ b/stx/dockerfiles/stx-builder.Dockerfile @@ -21,6 +21,9 @@ RUN echo "deb-src http://deb.debian.org/debian bullseye main" >> /etc/apt/source echo "deb-src http://deb.debian.org/debian buster main" >> /etc/apt/sources.list && \ echo "deb http://deb.debian.org/debian bullseye contrib" >> /etc/apt/sources.list +# Update certificates +RUN apt-get -y update && apt-get -y install --no-install-recommends ca-certificates && update-ca-certificates + # Download required dependencies by mirror/build processes. RUN apt-get update && apt-get install --no-install-recommends -y \ bzip2 \ diff --git a/stx/dockerfiles/stx-lat-tool.Dockerfile b/stx/dockerfiles/stx-lat-tool.Dockerfile index 346f8df4..dece8556 100644 --- a/stx/dockerfiles/stx-lat-tool.Dockerfile +++ b/stx/dockerfiles/stx-lat-tool.Dockerfile @@ -18,6 +18,9 @@ MAINTAINER Chen Qi ARG LAT_BINARY_RESOURCE_PATH=http://mirror.starlingx.cengn.ca/mirror/lat-sdk/lat-sdk-20221008 +# Update certificates +RUN apt-get -y update && apt-get -y install --no-install-recommends ca-certificates && update-ca-certificates + # Install necessary packages RUN apt-get -y update && apt-get --no-install-recommends -y install \ python3 \ diff --git a/stx/dockerfiles/stx-pkgbuilder.Dockerfile b/stx/dockerfiles/stx-pkgbuilder.Dockerfile index 2b6d6940..a3b20b3c 100644 --- a/stx/dockerfiles/stx-pkgbuilder.Dockerfile +++ b/stx/dockerfiles/stx-pkgbuilder.Dockerfile @@ -15,8 +15,12 @@ FROM debian:bullseye RUN echo "deb-src http://deb.debian.org/debian bullseye main" >> /etc/apt/sources.list -# Download required dependencies by mirror/build processes. ARG DEBIAN_FRONTEND=noninteractive + +# Update certificates +RUN apt-get -y update && apt-get -y install --no-install-recommends ca-certificates && update-ca-certificates + +# Download required dependencies by mirror/build processes. RUN apt-get update && apt-get install --no-install-recommends -y \ build-essential \ live-build \