1) better to create a spearate dockerFile (https://www.baeldung.com/ops/multiple-dockerfiles)
and do the following in the dockerfile:
From httpd:latest
# current httpd image uses debain bullseye, adding https to the source list cause http connection is blocked
RUN printf "deb https://deb.debian.org/debian bullseye main \n deb https://deb.debian.org/debian bullseye-updates main" > /etc/apt/sources.list
# update openSSL to latest version
RUN apt-get update && apt-get -y install openssl
No comments:
Post a Comment