mirror of
https://github.com/xiaoqidun/pfenv.git
synced 2025-04-04 15:37:53 +08:00
Compare commits
17 Commits
d66bfff8fa
...
main
Author | SHA1 | Date | |
---|---|---|---|
ec68377044 | |||
5694906c24 | |||
89a7135230 | |||
5cc08d5bc7 | |||
8a03d32faf | |||
a732b4957a | |||
53e524a529 | |||
f53a4d5157 | |||
2fe86a064e | |||
d9bdc5a48c | |||
f0938ae3ed | |||
9a321bb67f | |||
d059699121 | |||
53967ad157 | |||
32bb880f63 | |||
2dc7c9ee9d | |||
c10606a2a5 |
19
.drone.yml
19
.drone.yml
@ -1,10 +1,21 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: docker
|
||||
|
||||
name: default
|
||||
node:
|
||||
region: cn
|
||||
steps:
|
||||
- name: docker
|
||||
- name: docker-cn
|
||||
pull: if-not-exists
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: ccr.ccs.tencentyun.com/xiaoqidun/pfenv
|
||||
registry: ccr.ccs.tencentyun.com
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
dockerfile: Dockerfile
|
||||
- name: docker-hk
|
||||
pull: if-not-exists
|
||||
image: plugins/docker
|
||||
settings:
|
||||
|
11
Dockerfile
11
Dockerfile
@ -1,16 +1,19 @@
|
||||
# 基础镜像
|
||||
FROM php:7.4.23-fpm
|
||||
FROM php:8.3.12-fpm
|
||||
|
||||
# 作者信息
|
||||
LABEL MAINTAINER="xiaoqidun@gmail.com"
|
||||
LABEL authors="xiaoqidun"
|
||||
|
||||
# 安装扩展
|
||||
RUN pecl install redis-5.3.4 \
|
||||
RUN pecl install redis-6.1.0RC1 \
|
||||
&& docker-php-ext-enable redis
|
||||
|
||||
RUN pecl install xdebug-3.0.4 \
|
||||
RUN pecl install xdebug-3.3.2 \
|
||||
&& docker-php-ext-enable xdebug
|
||||
|
||||
RUN pecl install runkit7-4.0.0a6 \
|
||||
&& docker-php-ext-enable runkit7
|
||||
|
||||
RUN docker-php-ext-install -j$(nproc) \
|
||||
dba \
|
||||
exif \
|
||||
|
Reference in New Issue
Block a user