Update the root certificates of the Debian build containers
mirror.starlingx.cengn.ca will only authenticate against the latest certificates. Signed-off-by: Scott Little <scott.little@windriver.com> Change-Id: I9ea940edb529cb8bf44ab1b1433f9c3d62d7b225
This commit is contained in:
parent
0227d889de
commit
bfa65efc74
@ -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 && \
|
||||
|
@ -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 \
|
||||
|
@ -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-20230510
|
||||
|
||||
# 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 \
|
||||
openssh-client \
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user