Skip to content

Commit

Permalink
bin/podman-cloud: add Firebase Admin SDK for Python
Browse files Browse the repository at this point in the history
Enable using `import firebase_admin` in the container, for
https://firebase.google.com/docs/database/admin/start#python_2
  • Loading branch information
fishilico committed Jul 3, 2024
1 parent 7900c06 commit 7c667e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/podman-cloud
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 && \
Expand Down

0 comments on commit 7c667e3

Please sign in to comment.