Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ LABEL org.opencontainers.image.licenses = "GPL-3.0-or-later"
RUN apk add --update --no-cache \
git

# Get composer
# TODO: Install default version (currently composer v2) once bug fixed in phar build stage. Create ticket for build error.
# Get latest composer version
RUN COMPOSER_HOME=$HOME_DIR/.composer \
&& /usr/bin/curl -sS https://getcomposer.org/installer | php -- --1 --install-dir=/usr/local/bin && mv /usr/local/bin/composer.phar /usr/local/bin/composer
&& /usr/bin/curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin && mv /usr/local/bin/composer.phar /usr/local/bin/composer

# Configure PHP to allow phar builds
COPY conf.d/*.ini /usr/local/etc/php/conf.d/
Expand Down