artifacts/oci/datadog/agent/Dockerfile

24 lines
2.1 KiB
Docker
Raw Permalink Normal View History

FROM artifact.onwalk.net/public/datadog/agent:7.44.1
2023-03-10 11:36:17 +08:00
LABEL maintainer "Datadog <package@datadoghq.com>"
2023-03-10 16:22:43 +08:00
ADD 99DpkgForceConf /etc/apt/apt.conf.d/
ADD 00InstallRecommends /etc/apt/apt.conf.d/
2023-03-10 16:24:48 +08:00
RUN apt update && export DEBIAN_FRONTEND=noninteractive && apt install ca-certificates curl -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew"
2023-03-10 15:49:57 +08:00
RUN apt install -f && dpkg --configure -a
RUN cd /usr/local/share/ca-certificates/ && curl http://certinfo.roche.com/rootcerts/Roche%20Root%20CA%201.cer -o RocheRootCA1.cer && \
curl http://certinfo.roche.com/rootcerts/RocheEnterpriseCA1.cer -o RocheEnterpriseCA1.cer && \
curl http://certinfo.roche.com/rootcerts/RocheEnterpriseCA2.cer \
-o RocheEnterpriseCA2.cer && curl http://certinfo.roche.com/rootcerts/Roche%20Root%20CA%201%20-%20G2.crt \
-o RocheRootCA1-G2.crt && curl http://certinfo.roche.com/rootcerts/Roche%20Enterprise%20CA%201%20-%20G2.crt \
-o RocheEnterpriseCA1-G2.crt && curl http://certinfo.roche.com/rootcerts/Roche%20G3%20Root%20CA.crt \
-o RocheG3RootCA.crt && curl http://certinfo.roche.com/rootcerts/Roche%20G3%20Issuing%20CA%201.crt \
-o RocheG3IssuingCA1.crt && curl http://certinfo.roche.com/rootcerts/Roche%20G3%20Issuing%20CA%202.crt \
-o RocheG3IssuingCA2.crt && curl http://certinfo.roche.com/rootcerts/Roche%20G3%20Issuing%20CA%203.crt \
-o RocheG3IssuingCA3.crt && curl http://certinfo.roche.com/rootcerts/Roche%20G3%20Issuing%20CA%204.crt \
-o RocheG3IssuingCA4.crt && update-ca-certificates
2023-03-10 11:36:17 +08:00
2023-03-10 15:20:47 +08:00
ENV LD_PRELOAD=/opt/lib/nosys.so
2023-03-10 11:36:17 +08:00
2023-03-10 15:20:47 +08:00
CMD ["/bin/entrypoint.sh"]