File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,10 @@ RUN install-php-extensions \
3030 zip \
3131 intl \
3232 && \
33- mv "$PHP_INI_DIR/php.ini-development" "$PHP_INI_DIR/php.ini"
33+ mv "$PHP_INI_DIR/php.ini-development" "$PHP_INI_DIR/php.ini" && \
34+ curl -sSL https://getcomposer.org/installer | php && \
35+ chmod +x composer.phar && \
36+ mv composer.phar /usr/local/bin/composer
3437
3538RUN groupadd -g 1001 vscode && \
3639 useradd -s /bin/zsh -m -u 1001 -g vscode vscode && \
@@ -39,13 +42,7 @@ RUN groupadd -g 1001 vscode && \
3942
4043USER vscode
4144
42- RUN curl -sSL https://getcomposer.org/installer |\
43- php -- \
44- --no-ansi \
45- --install-dir="${HOME}/bin" \
46- --filename="composer" \
47- && \
48- curl --proto '=https' --tlsv1.2 -LsSf https://starship.rs/install.sh | sh -s -- --yes && \
45+ RUN curl --proto '=https' --tlsv1.2 -LsSf https://starship.rs/install.sh | sh -s -- --yes && \
4946 curl --proto '=https' --tlsv1.2 -LsSf https://github.com/atuinsh/atuin/releases/latest/download/atuin-installer.sh | ATUIN_NO_MODIFY_PATH=1 sh && \
5047 mv ${HOME}/.atuin/bin/* "${HOME}/bin" && \
5148 rm -rf "${HOME}/.atuin" && \
You can’t perform that action at this time.
0 commit comments