debian-node-firebase (711d246fc374cfbfeb94966e56c3db4beb7392dd)

Published 2025-07-14 16:32:34 +00:00 by GuillaumeHemmen in GuillaumeHemmen/debian-node-firebase

Installation

docker pull git.van-hemmen.com/guillaumehemmen/debian-node-firebase:711d246fc374cfbfeb94966e56c3db4beb7392dd
sha256:2f623df08a662927c7c29852b6c4002083275c98f66e5c629c016be674c813fa

Image layers

# debian.sh --arch 'amd64' out/ 'bookworm' '@1751241600'
RUN ln -snf /usr/share/zoneinfo/$ARG_TZ /etc/localtime && echo $ARG_TZ > /etc/timezone
RUN apt-get update && apt-get upgrade -y && apt-get install -y build-essential ca-certificates curl git gnupg2 jq nano procps python3 sudo unzip wget && rm -rf /var/lib/apt/lists/*
RUN useradd -m -s /bin/bash -G sudo coder && echo "coder ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers.d/coder
RUN echo "PS1='🐳 \[\033[1;36m\] \[\033[1;34m\]\W\[\033[0;35m\] \[\033[1;36m\]# \[\033[0m\]'" > /home/coder/.bashrc && mkdir -p /workspaces && chown coder:coder /home/coder/.bashrc && chown -R coder:coder /workspaces
RUN curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b /usr/local/bin && trivy filesystem --exit-code 0 --no-progress / && rm -rf /usr/local/bin/trivy
RUN touch "${BASH_ENV}" && echo '. "${BASH_ENV}"' >> ~/.bashrc
RUN curl -sL ${GITIGNORE_URL} -o /home/coder/.gitignore && git config --global core.excludesfile /home/coder/.gitignore
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash && . $NVM_DIR/nvm.sh && nvm install ${ARG_NODE_MAJOR} && nvm alias default ${ARG_NODE_MAJOR} && nvm use default && npm install -g yarn patch-package && echo 'export NVM_DIR="$HOME/.nvm"' >> /home/coder/.bashrc && echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> /home/coder/.bashrc && echo 'export PATH="$NVM_DIR/versions/node/$(ls $NVM_DIR/versions/node | tail -n 1)/bin:$PATH"' >> /home/coder/.bashrc
RUN curl -sL firebase.tools | bash

Labels

Key Value
maintainer guillaume@van-hemmen.com
Details
Container
2025-07-14 16:32:34 +00:00
4
OCI / Docker
linux/amd64
556 MiB
Versions (13) View all