This commit is contained in:
parent
4ef06d31c2
commit
fab87c1577
96
.drone.yml
96
.drone.yml
@ -2,22 +2,22 @@ kind: pipeline
|
|||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: php8.0
|
# - name: php8.0
|
||||||
image: plugins/docker
|
# image: plugins/docker
|
||||||
settings:
|
# settings:
|
||||||
username:
|
# username:
|
||||||
from_secret: hub_username
|
# from_secret: hub_username
|
||||||
password:
|
# password:
|
||||||
from_secret: hub_password
|
# from_secret: hub_password
|
||||||
repo:
|
# repo:
|
||||||
from_secret: hub_repo
|
# from_secret: hub_repo
|
||||||
build_args:
|
# build_args:
|
||||||
- PHP_VERSION=8.0-fpm-alpine3.13
|
# - PHP_VERSION=8.0-fpm-alpine3.13
|
||||||
tags: 8.0-alpine
|
# tags: 8.0-alpine
|
||||||
when:
|
# when:
|
||||||
branch:
|
# branch:
|
||||||
- master
|
# - master
|
||||||
depends_on: [ clone ]
|
# depends_on: [ clone ]
|
||||||
|
|
||||||
# - name: php8.0-dev
|
# - name: php8.0-dev
|
||||||
# image: plugins/docker
|
# image: plugins/docker
|
||||||
@ -37,22 +37,22 @@ steps:
|
|||||||
# - master
|
# - master
|
||||||
# depends_on: [ clone ]
|
# depends_on: [ clone ]
|
||||||
|
|
||||||
- name: php7.4
|
# - name: php7.4
|
||||||
image: plugins/docker
|
# image: plugins/docker
|
||||||
settings:
|
# settings:
|
||||||
username:
|
# username:
|
||||||
from_secret: hub_username
|
# from_secret: hub_username
|
||||||
password:
|
# password:
|
||||||
from_secret: hub_password
|
# from_secret: hub_password
|
||||||
repo:
|
# repo:
|
||||||
from_secret: hub_repo
|
# from_secret: hub_repo
|
||||||
build_args:
|
# build_args:
|
||||||
- PHP_VERSION=7.4-fpm-alpine3.13
|
# - PHP_VERSION=7.4-fpm-alpine3.13
|
||||||
tags: 7.4-alpine
|
# tags: 7.4-alpine
|
||||||
when:
|
# when:
|
||||||
branch:
|
# branch:
|
||||||
- master
|
# - master
|
||||||
depends_on: [ clone ]
|
# depends_on: [ clone ]
|
||||||
|
|
||||||
# - name: php7.4-dev
|
# - name: php7.4-dev
|
||||||
# image: plugins/docker
|
# image: plugins/docker
|
||||||
@ -72,22 +72,22 @@ steps:
|
|||||||
# - master
|
# - master
|
||||||
# depends_on: [ clone ]
|
# depends_on: [ clone ]
|
||||||
|
|
||||||
- name: php7.3
|
# - name: php7.3
|
||||||
image: plugins/docker
|
# image: plugins/docker
|
||||||
settings:
|
# settings:
|
||||||
username:
|
# username:
|
||||||
from_secret: hub_username
|
# from_secret: hub_username
|
||||||
password:
|
# password:
|
||||||
from_secret: hub_password
|
# from_secret: hub_password
|
||||||
repo:
|
# repo:
|
||||||
from_secret: hub_repo
|
# from_secret: hub_repo
|
||||||
build_args:
|
# build_args:
|
||||||
- PHP_VERSION=7.3-fpm-alpine3.13
|
# - PHP_VERSION=7.3-fpm-alpine3.13
|
||||||
tags: 7.3-alpine
|
# tags: 7.3-alpine
|
||||||
when:
|
# when:
|
||||||
branch:
|
# branch:
|
||||||
- master
|
# - master
|
||||||
depends_on: [ clone ]
|
# depends_on: [ clone ]
|
||||||
|
|
||||||
# - name: php7.3-dev
|
# - name: php7.3-dev
|
||||||
# image: plugins/docker
|
# image: plugins/docker
|
||||||
|
@ -53,8 +53,8 @@ ARG ENVIRONMENT=production
|
|||||||
# install system libs
|
# install system libs
|
||||||
RUN apk update && apk add --no-cache libintl c-client libpng icu-libs libldap libpq libjpeg freetype libzip shadow sudo wget bash git openssh supervisor nginx openssl zip
|
RUN apk update && apk add --no-cache libintl c-client libpng icu-libs libldap libpq libjpeg freetype libzip shadow sudo wget bash git openssh supervisor nginx openssl zip
|
||||||
|
|
||||||
# update curl (CVE-2021-22901)
|
# force apk upgrade, clear apk cache
|
||||||
RUN apk del curl && apk add curl
|
RUN apk upgrade && rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
ENV DIR /var/www
|
ENV DIR /var/www
|
||||||
ENV DOCKERIZE_VERSION v0.6.1
|
ENV DOCKERIZE_VERSION v0.6.1
|
||||||
|
Loading…
Reference in New Issue
Block a user