php_with_node (#3)
PHP8 + NodeJS + Debian Bullseye Co-authored-by: Hide_D <hided62@gmail.com> Reviewed-on: https://storage.hided.net/gitea/devsam/docker/pulls/3 Co-authored-by: hide_d <hided62@gmail.com> Co-committed-by: hide_d <hided62@gmail.com>
This commit was merged in pull request #3.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM php:8.0-fpm-buster
|
||||
FROM php:8.0-fpm-bullseye
|
||||
#debian
|
||||
|
||||
ENV LC_ALL=C.UTF-8
|
||||
@@ -8,7 +8,7 @@ RUN apt -y update ;\
|
||||
bzip2 git rsync \
|
||||
libmemcached-dev libcurl4-openssl-dev libmcrypt-dev \
|
||||
libicu-dev libjpeg-dev libpng-dev libwebp-dev libfreetype6-dev \
|
||||
libzip-dev libxml2-dev libsqlite3-dev gosu;
|
||||
libzip-dev libxml2-dev libsqlite3-dev gosu build-essential;
|
||||
|
||||
RUN debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
|
||||
docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr --with-webp-dir=/usr; \
|
||||
@@ -24,6 +24,11 @@ RUN debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
|
||||
mysqli \
|
||||
zip;
|
||||
RUN pecl install memcached mcrypt;
|
||||
|
||||
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - && \
|
||||
apt install -yq nodejs
|
||||
RUN npm install -g npm
|
||||
|
||||
#from nextcloud setting
|
||||
RUN mkdir -p /var/www/html/; \
|
||||
mkdir -p /var/www/.ssh;
|
||||
|
||||
Reference in New Issue
Block a user