4 Star 17 Fork 7

凡星 / bctos

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 1.08 KB
一键复制 编辑 原始数据 按行查看 历史
FROM alpine
LABEL maintainer="bctos.cn"
COPY server/panel/entrypoint.sh /bctos/server/panel/entrypoint.sh
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/bin/
COPY --from=composer /usr/bin/composer /usr/bin/composer
RUN chmod 777 /bctos/server/panel/entrypoint.sh \
&& addgroup -g 82 -S www-data; adduser -u 82 -D -s "/bin/sh" -G www-data www-data \
&& sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories \
&& apk update \
&& apk add --no-cache curl tzdata \
&& cp -rf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
&& apk add --no-cache nginx php7 php7-fpm php7-ctype php7-curl php7-dom php7-fileinfo \
php7-gd php7-iconv php7-json php7-mbstring php7-mysqlnd php7-pdo php7-pcntl php7-openssl \
php7-opcache php7-pdo_mysql php7-posix php7-session php7-pdo_sqlite php7-simplexml php7-memcached \
php7-xml php7-xmlreader php7-xmlwriter php7-simplexml php7-pecl-ssh2 php7-pecl-yaml php7-phar \
&& apk del tzdata \
&& rm -rf /var/cache/apk/*
EXPOSE 80 443 2100 2120 2121
ENTRYPOINT ["/bctos/server/panel/entrypoint.sh"]
PHP
1
https://gitee.com/bctos_cn/bctos.git
git@gitee.com:bctos_cn/bctos.git
bctos_cn
bctos
bctos
master

搜索帮助