This commit is contained in:
parent
4ef06d31c2
commit
fab87c1577
96
.drone.yml
96
.drone.yml
@ -2,22 +2,22 @@ kind: pipeline
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: php8.0
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username:
|
||||
from_secret: hub_username
|
||||
password:
|
||||
from_secret: hub_password
|
||||
repo:
|
||||
from_secret: hub_repo
|
||||
build_args:
|
||||
- PHP_VERSION=8.0-fpm-alpine3.13
|
||||
tags: 8.0-alpine
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
depends_on: [ clone ]
|
||||
# - name: php8.0
|
||||
# image: plugins/docker
|
||||
# settings:
|
||||
# username:
|
||||
# from_secret: hub_username
|
||||
# password:
|
||||
# from_secret: hub_password
|
||||
# repo:
|
||||
# from_secret: hub_repo
|
||||
# build_args:
|
||||
# - PHP_VERSION=8.0-fpm-alpine3.13
|
||||
# tags: 8.0-alpine
|
||||
# when:
|
||||
# branch:
|
||||
# - master
|
||||
# depends_on: [ clone ]
|
||||
|
||||
# - name: php8.0-dev
|
||||
# image: plugins/docker
|
||||
@ -37,22 +37,22 @@ steps:
|
||||
# - master
|
||||
# depends_on: [ clone ]
|
||||
|
||||
- name: php7.4
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username:
|
||||
from_secret: hub_username
|
||||
password:
|
||||
from_secret: hub_password
|
||||
repo:
|
||||
from_secret: hub_repo
|
||||
build_args:
|
||||
- PHP_VERSION=7.4-fpm-alpine3.13
|
||||
tags: 7.4-alpine
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
depends_on: [ clone ]
|
||||
# - name: php7.4
|
||||
# image: plugins/docker
|
||||
# settings:
|
||||
# username:
|
||||
# from_secret: hub_username
|
||||
# password:
|
||||
# from_secret: hub_password
|
||||
# repo:
|
||||
# from_secret: hub_repo
|
||||
# build_args:
|
||||
# - PHP_VERSION=7.4-fpm-alpine3.13
|
||||
# tags: 7.4-alpine
|
||||
# when:
|
||||
# branch:
|
||||
# - master
|
||||
# depends_on: [ clone ]
|
||||
|
||||
# - name: php7.4-dev
|
||||
# image: plugins/docker
|
||||
@ -72,22 +72,22 @@ steps:
|
||||
# - master
|
||||
# depends_on: [ clone ]
|
||||
|
||||
- name: php7.3
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username:
|
||||
from_secret: hub_username
|
||||
password:
|
||||
from_secret: hub_password
|
||||
repo:
|
||||
from_secret: hub_repo
|
||||
build_args:
|
||||
- PHP_VERSION=7.3-fpm-alpine3.13
|
||||
tags: 7.3-alpine
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
depends_on: [ clone ]
|
||||
# - name: php7.3
|
||||
# image: plugins/docker
|
||||
# settings:
|
||||
# username:
|
||||
# from_secret: hub_username
|
||||
# password:
|
||||
# from_secret: hub_password
|
||||
# repo:
|
||||
# from_secret: hub_repo
|
||||
# build_args:
|
||||
# - PHP_VERSION=7.3-fpm-alpine3.13
|
||||
# tags: 7.3-alpine
|
||||
# when:
|
||||
# branch:
|
||||
# - master
|
||||
# depends_on: [ clone ]
|
||||
|
||||
# - name: php7.3-dev
|
||||
# image: plugins/docker
|
||||
|
@ -53,8 +53,8 @@ ARG ENVIRONMENT=production
|
||||
# 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
|
||||
|
||||
# update curl (CVE-2021-22901)
|
||||
RUN apk del curl && apk add curl
|
||||
# force apk upgrade, clear apk cache
|
||||
RUN apk upgrade && rm -rf /var/cache/apk/*
|
||||
|
||||
ENV DIR /var/www
|
||||
ENV DOCKERIZE_VERSION v0.6.1
|
||||
|
Loading…
Reference in New Issue
Block a user