adding https only support for container packages management

XMLWordPrintable

      For Scott K.  per our conversation about enabling https for package management.  I add the following just after FROM on registry-base and comanage-registry-shibboleth-sp-base

      // code placeholder
      

      ENV DEBIAN_FRONTEND noninteractive
      RUN mkdir /apt-local
      COPY *.deb /apt-local/
      RUN apt-get -y install /apt-local/*.deb; \
              sed -i 's/http:/https:/g' /etc/apt/sources.list && sed -i 's/bullseye\/updates/bullseye-security/g' /etc/apt/sources.list; \
              apt-get update ;\
              apt-get -y install wget curl openssl ca-certificates apt-utils procps findutils net-tools git vim ; \
             /bin/rm -rf /apt-local

      The COPY command is grabbing
      apt-utils_2.2.4_amd64.deb  ca-certificates_20211016_all.deb  openssl_1.1.1n-0+deb11u3_amd64.deb
      which are necessary for https connections to work.  and then grabbing procps, findutils, net-tools, git, vim is for convenience but nice to have!

      Do let me know if you have any questions.

            Assignee:
            Scott Koranda
            Reporter:
            Michael Gettes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: