Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

install composer alpine docker

FROM php:7.2-alpine3.8

RUN apk update
RUN apk add bash
RUN apk add curl

# INSTALL COMPOSER
RUN curl -s https://getcomposer.org/installer | php
RUN alias composer='php composer.phar'

# INSTALL NGINX
RUN apk add nginx
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #install #composer #alpine #docker
ADD COMMENT
Topic
Name
5+3 =