mirror of
http://124.126.16.154:8888/singularity/docker-images-hyperf.git
synced 2026-01-15 00:35:08 +08:00
feat: ✨ 增加 8.2 镜像
This commit is contained in:
16
Jenkinsfile
vendored
16
Jenkinsfile
vendored
@@ -1,13 +1,6 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
stages {
|
stages {
|
||||||
stage('Build 7.3-swoole') {
|
|
||||||
steps {
|
|
||||||
sh 'docker login harbor.luxcreo.cn -u \'robot$library+jenkinsfile\' -p Bw0teIfUhP7WBd1yDp7DTWSbF0d5nVvE'
|
|
||||||
sh 'docker build -t harbor.luxcreo.cn/library/hyperf:7.3-swoole -f swoole/7.3/Dockerfile .'
|
|
||||||
sh 'docker push harbor.luxcreo.cn/library/hyperf:7.3-swoole'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage('Build 7.4-swoole') {
|
stage('Build 7.4-swoole') {
|
||||||
steps {
|
steps {
|
||||||
sh 'docker login harbor.luxcreo.cn -u \'robot$library+jenkinsfile\' -p Bw0teIfUhP7WBd1yDp7DTWSbF0d5nVvE'
|
sh 'docker login harbor.luxcreo.cn -u \'robot$library+jenkinsfile\' -p Bw0teIfUhP7WBd1yDp7DTWSbF0d5nVvE'
|
||||||
@@ -29,9 +22,16 @@ pipeline {
|
|||||||
sh 'docker push harbor.luxcreo.cn/library/hyperf:8.1-swoole'
|
sh 'docker push harbor.luxcreo.cn/library/hyperf:8.1-swoole'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage('Build 8.2-swoole') {
|
||||||
|
steps {
|
||||||
|
sh 'docker login harbor.luxcreo.cn -u \'robot$library+jenkinsfile\' -p Bw0teIfUhP7WBd1yDp7DTWSbF0d5nVvE'
|
||||||
|
sh 'docker build -t harbor.luxcreo.cn/library/hyperf:8.2-swoole -f swoole/8.2/Dockerfile .'
|
||||||
|
sh 'docker push harbor.luxcreo.cn/library/hyperf:8.2-swoole'
|
||||||
|
}
|
||||||
|
}
|
||||||
stage('Build Latest') {
|
stage('Build Latest') {
|
||||||
steps {
|
steps {
|
||||||
sh 'docker tag harbor.luxcreo.cn/library/hyperf:8.1-swoole harbor.luxcreo.cn/library/hyperf:latest'
|
sh 'docker tag harbor.luxcreo.cn/library/hyperf:8.2-swoole harbor.luxcreo.cn/library/hyperf:latest'
|
||||||
sh 'docker push harbor.luxcreo.cn/library/hyperf:latest'
|
sh 'docker push harbor.luxcreo.cn/library/hyperf:latest'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
# @link https://studio.luxcreo.cn/
|
# @link https://studio.luxcreo.cn/
|
||||||
# @contact dongyun.li@luxcreo.cn
|
# @contact dongyun.li@luxcreo.cn
|
||||||
|
|
||||||
FROM hyperf/hyperf:7.4-alpine-v3.14-swoole
|
FROM hyperf/hyperf:7.4-alpine-v3.15-swoole
|
||||||
LABEL maintainer="李东云 <dongyun.li@luxcreo.ai>" version="1.0" license="MIT" app.name="LuxHyperf"
|
LABEL maintainer="李东云 <dongyun.li@luxcreo.ai>" version="1.0" license="MIT" app.name="LuxHyperf"
|
||||||
|
|
||||||
##
|
##
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
# @link https://studio.luxcreo.cn/
|
# @link https://studio.luxcreo.cn/
|
||||||
# @contact dongyun.li@luxcreo.cn
|
# @contact dongyun.li@luxcreo.cn
|
||||||
|
|
||||||
FROM hyperf/hyperf:8.1-alpine-v3.16-swoole
|
FROM hyperf/hyperf:8.1-alpine-v3.18-swoole
|
||||||
LABEL maintainer="李东云 <dongyun.li@luxcreo.ai>" version="1.0" license="MIT" app.name="LuxHyperf"
|
LABEL maintainer="李东云 <dongyun.li@luxcreo.ai>" version="1.0" license="MIT" app.name="LuxHyperf"
|
||||||
|
|
||||||
##
|
##
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
# @link https://studio.luxcreo.cn/
|
# @link https://studio.luxcreo.cn/
|
||||||
# @contact dongyun.li@luxcreo.cn
|
# @contact dongyun.li@luxcreo.cn
|
||||||
|
|
||||||
FROM hyperf/hyperf:7.3-alpine-v3.11-swoole
|
FROM hyperf/hyperf:8.2-alpine-v3.18-swoole
|
||||||
LABEL maintainer="李东云 <dongyun.li@luxcreo.ai>" version="1.0" license="MIT" app.name="LuxHyperf"
|
LABEL maintainer="李东云 <dongyun.li@luxcreo.ai>" version="1.0" license="MIT" app.name="LuxHyperf"
|
||||||
|
|
||||||
##
|
##
|
||||||
@@ -21,7 +21,7 @@ RUN set -ex \
|
|||||||
&& php -m \
|
&& php -m \
|
||||||
&& php --ri swoole \
|
&& php --ri swoole \
|
||||||
# ---------- some config ----------
|
# ---------- some config ----------
|
||||||
&& cd /etc/php7 \
|
&& cd /etc/php81 \
|
||||||
# - config PHP
|
# - config PHP
|
||||||
&& { \
|
&& { \
|
||||||
echo "upload_max_filesize=128M"; \
|
echo "upload_max_filesize=128M"; \
|
||||||
Reference in New Issue
Block a user