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 \
30
30
zip \
31
31
intl \
32
32
&& \
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
34
37
35
38
RUN groupadd -g 1001 vscode && \
36
39
useradd -s /bin/zsh -m -u 1001 -g vscode vscode && \
@@ -39,13 +42,7 @@ RUN groupadd -g 1001 vscode && \
39
42
40
43
USER vscode
41
44
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 && \
49
46
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/atuinsh/atuin/releases/latest/download/atuin-installer.sh | ATUIN_NO_MODIFY_PATH=1 sh && \
50
47
mv ${HOME}/.atuin/bin/* "${HOME}/bin" && \
51
48
rm -rf "${HOME}/.atuin" && \
You can’t perform that action at this time.
0 commit comments