Details
-
Improvement
-
Resolution: Completed
-
Minor
-
COmanage Registry 4.0.2 (Purple Jade MR2)
-
docker
Description
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.
Attachments
Issue Links
- is related to
-
CO-2187 Refactor container entrypoint construction of Apache HTTP Server config
- Resolved