This commit is contained in:
anthorob committed 2026-02-09 11:26:15 -05:00
1 parent bd33388dc4
commit 4652d60875
2 files changed
+47 -1

No files matched your search

+41
View File
@@ -0,0 +1,41 @@
FROM registry.bobert.me/anthorob/coder-base:latest@sha256:ff48bd8e316d473090f664a69514bc1efc1badfed81e293f97fcb610be8530b3
USER root
RUN apt-get update && \
add-apt-repository ppa:ondrej/php && \
apt-get update && \
apt-get install -y --no-install-recommends \
php8.4 \
php8.4-cli \
php8.4-common \
php8.4-curl \
php8.4-mbstring \
php8.4-mysql \
php8.4-xml \
php8.4-zip \
php8.4-bcmath \
php8.4-soap \
php8.4-readline \
php8.4-intl \
php8.4-opcache \
php8.4-gd \
php8.4-pgsql \
php8.4-sqlite3 \
php8.4-tokenizer \
php8.4-fileinfo && \
apt-get clean && rm -rf /var/lib/apt/lists/*
RUN update-alternatives --install /usr/bin/php php /usr/bin/php8.4 84 && \
update-alternatives --set php /usr/bin/php8.4
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