Update the root certificates of the Debian build containers

mirror.starlingx.cengn.ca will only authenticate against the
latest certificates.

Change-Id: Ie601ae9df3ee40e7d388e675517fc1c44adc4f1c
Signed-off-by: Scott Little <scott.little@windriver.com>
(cherry picked from commit bfa65efc74)
This commit is contained in:
Scott Little 2023-07-24 15:32:25 -04:00
parent 92f107444c
commit 4d70395d94
4 changed files with 14 additions and 1 deletions

View File

@ -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 && \

View File

@ -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 \

View File

@ -18,6 +18,9 @@ MAINTAINER Chen Qi <Qi.Chen@windriver.com>
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 \

View File

@ -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 \