Skip to content

Commit 5671896

Browse files
authored
Add symlink for Composer in Dockerfile (#461)
1 parent 5872512 commit 5671896

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ RUN docker-php-ext-install pdo_mysql mbstring exif intl pcntl bcmath gd zip
2828
# Get latest Composer
2929
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
3030

31+
# Create symlink for Composer
32+
RUN ln -s /usr/bin/composer /usr/bin/c
33+
3134
# Create system user to run Composer and Artisan Commands
3235
RUN useradd -G www-data,root -u $uid -d /home/$user $user
3336
RUN mkdir -p /home/$user/.composer && \

0 commit comments

Comments
 (0)