hyperf的环境采用docker构建
Docker
Dockerfile
采用hyperf
的镜像文件,额外添加了yasd
的扩展。
# hyperf/hyperf:7.4
#
# @link https://www.hyperf.io
# @document https://doc.hyperf.io
# @contact group@hyperf.io
# @license https://github.com/hyperf/hyperf/blob/master/LICENSE
ARG ALPINE_VERSION
FROM hyperf/hyperf:7.4-alpine-v${
ALPINE_VERSION}-base
LABEL maintainer="Hyperf Developers <group@hyperf.io>" version="1.0" license="MIT"
ARG SW_VERSION
ARG COMPOSER_VERSION
##
# ---------- env settings ----------
##
ENV SW_VERSION=${
SW_VERSION:-"v4.6.1"} \
COMPOSER_VERSION=${
COMPOSER_VERSION:-"2.0.2"