debian-node-firebase (b35f03b8631ff47530edefecec4b80792ea14177)

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

Installation

docker pull git.van-hemmen.com/guillaumehemmen/debian-node-firebase:b35f03b8631ff47530edefecec4b80792ea14177
sha256:8ac197f9ec909da75ea5f554d7bf263612aa7a8ccbb2735e1d521afd8220f478

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 | PROFILE="${BASH_ENV}" bash && . $BASH_ENV && nvm install ${ARG_NODE_MAJOR} && nvm alias default ${ARG_NODE_MAJOR} && nvm use ${ARG_NODE_MAJOR} && npm i -g yarn patch-package
RUN echo 'export NVM_DIR="$HOME/.nvm"' >> /home/coder/.bash_env && echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> /home/coder/.bash_env && echo '[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"' >> /home/coder/.bash_env
RUN curl -sL firebase.tools | bash

Labels

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