FROM registry.bobert.me/anthorob/coder-images:base@sha256:0338f8b6fd1be44a5b85182a6c652362ccb5b43776ce5c7d1ccd205402765305 USER root RUN apt-get update && \ add-apt-repository ppa:ondrej/php && \ apt-get update && \ apt-get install -y --no-install-recommends \ php8.0 \ php8.0-cli \ php8.0-common \ php8.0-curl \ php8.0-mbstring \ php8.0-mysql \ php8.0-xml \ php8.0-zip \ php8.0-bcmath \ php8.0-soap \ php8.0-readline \ php8.0-intl \ php8.0-opcache \ php8.0-gd \ php8.0-pgsql \ php8.0-sqlite3 \ php8.0-tokenizer \ php8.0-fileinfo && \ apt-get clean && rm -rf /var/lib/apt/lists/* RUN update-alternatives --install /usr/bin/php php /usr/bin/php8.0 80 && \ update-alternatives --set php /usr/bin/php8.0 RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer USER coder ENV NVM_DIR=/home/coder/.nvm RUN mkdir -p $NVM_DIR && \ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash WORKDIR /home/coder