Created
July 20, 2023 15:43
-
-
Save wess/3f16e26ffcd6059614e59753b8c614e0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM phpswoole/swoole:php8.1 | |
RUN apt-get update && \ | |
apt-get install -y -q \ | |
apt-utils \ | |
zsh \ | |
nano \ | |
vim \ | |
make \ | |
locales \ | |
g++ \ | |
gcc \ | |
git \ | |
curl \ | |
debianutils \ | |
binutils \ | |
sed \ | |
curl \ | |
wget \ | |
gnupg \ | |
gnupg2 \ | |
direnv \ | |
&& apt-get clean \ | |
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | |
RUN cp /usr/local/etc/php/php.ini-development /usr/local/etc/php/php.ini | |
RUN composer require laravel/pint --dev --ignore-platform-reqs | |
RUN sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
ADD . /app | |
WORKDIR /app | |
ENV TERM xterm-256color | |
CMD ["/bin/zsh"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment