From 7c667e3d43ba3fec281715034827a13ae143dc4a Mon Sep 17 00:00:00 2001 From: Nicolas Iooss Date: Wed, 3 Jul 2024 14:07:17 +0200 Subject: [PATCH] bin/podman-cloud: add Firebase Admin SDK for Python Enable using `import firebase_admin` in the container, for https://firebase.google.com/docs/database/admin/start#python_2 --- bin/podman-cloud | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/podman-cloud b/bin/podman-cloud index 5505554..51b0d29 100755 --- a/bin/podman-cloud +++ b/bin/podman-cloud @@ -51,6 +51,7 @@ # - to get SSH config: gcloud compute config-ssh # # - Pacu (AWS exploitation framework) https://github.com/RhinoSecurityLabs/pacu +# - Firebase Admin Python SDK https://firebase.google.com/docs/admin/setup#python # - saml2aws (login on AWS using a SAML identity provider) https://github.com/Versent/saml2aws set -e @@ -102,6 +103,7 @@ RUN set -eux && \ ./aws/install --bin-dir /usr/bin && \ rm -r awscliv2.zip aws && \ pip3 install --break-system-packages pacu && \ + pip3 install --break-system-packages firebase-admin && \ SAML2AWS_CURRENT_VERSION="$(curl -fsSL https://api.github.com/repos/Versent/saml2aws/releases/latest | jq -r '.tag_name|sub("^v"; "")')" && \ curl -fsSL "https://github.com/Versent/saml2aws/releases/download/v\${SAML2AWS_CURRENT_VERSION}/saml2aws_\${SAML2AWS_CURRENT_VERSION}_linux_amd64.tar.gz" -o saml2aws.tar.gz && \ tar -xzf saml2aws.tar.gz saml2aws && \