install composer in dockerfile

C++
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
Source

Also in C++: