blob: 599a0f62a878634edd9dab7db4e38ff9f04619f5 [file] [edit]
FROM marketplace.gcr.io/google/rockylinux9
RUN trust extract --format=pem-bundle \
--filter="pkcs11:object=emSign%20ECC%20Root%20CA%20-%20G3;type=cert" \
/etc/pki/ca-trust/source/blocklist/emSign_ECC_Root_CA_-_G3.crt && \
trust extract --format=pem-bundle \
--filter="pkcs11:object=Comodo%20AAA%20Services%20root;type=cert" \
/etc/pki/ca-trust/source/blocklist/Comodo_AAA_Services_root.crt && \
update-ca-trust
RUN dnf install -y gdb xz vim binutils crash && dnf clean all
# Installs gsutil, following:
# https://cloud.google.com/storage/docs/gsutil_install#sdk-install
COPY ./install_gsutil.sh /
RUN bash install_gsutil.sh && rm install_gsutil.sh && \
find /usr/lib64/google-cloud-sdk \( -name cacert.pem -o -name cacerts.txt -o -name roots.pem \) \
-not -path '*/dummyserver/*' -exec cp /etc/pki/tls/certs/ca-bundle.crt {} \;
COPY ./kdump_debugger.sh /kdump_debugger.sh
ENTRYPOINT ["/kdump_debugger.sh"]