📜  安装 composer alpine docker - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:29.179000             🧑  作者: Mango

代码示例1
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