deactivated legacy, updated php to 8.1, misc
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM php:7.4-fpm
|
||||
FROM php:8.1-fpm-bullseye
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
libfreetype6-dev \
|
||||
@@ -19,7 +19,7 @@ RUN apt-get update && apt-get install -y \
|
||||
docker-php-ext-install opcache && \
|
||||
docker-php-ext-install bcmath && \
|
||||
apt-get install -y git vim && \
|
||||
pecl install redis-4.3.0 && \
|
||||
pecl install redis-5.3.7 && \
|
||||
pecl install xdebug-3.1.3 && \
|
||||
docker-php-ext-enable redis xdebug
|
||||
|
||||
@@ -69,6 +69,10 @@ RUN if getent group ${USER_GNAME} ; then groupdel ${USER_GNAME}; fi &&\
|
||||
COPY ./bashrc /home/${USER_UNAME}/.bashrc
|
||||
COPY ./inputrc /home/${USER_UNAME}/.inputrc
|
||||
|
||||
# https://github.com/ProgDroid/composer_update_autocomplete
|
||||
RUN mkdir /home/${USER_UNAME}/.bin
|
||||
COPY ./composer_update_autocomplete /home/${USER_UNAME}/.bin/composer_update_autocomplete
|
||||
RUN printf "complete -C /home/${USER_UNAME}/.composer_update_autocomplete/src/main.rs composer update" >> /home/${USER_UNAME}/.bashrc
|
||||
|
||||
# https://dev.to/s1ntaxe770r/how-to-setup-ssh-within-a-docker-container-i5i
|
||||
RUN apt-get install -y openssh-server openssh-client
|
||||
|
BIN
Docker/php/composer_update_autocomplete
Executable file
BIN
Docker/php/composer_update_autocomplete
Executable file
Binary file not shown.
Reference in New Issue
Block a user