php 7.2 optimize, add testing repository for fluentbit
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Aleksander Cynarski 2021-07-03 14:26:11 +02:00
parent fab87c1577
commit 11f000fc89
Signed by: paramah
GPG Key ID: C4340BA42B9C173A
2 changed files with 4 additions and 5 deletions

View File

@ -47,14 +47,13 @@ FROM php:${PHP_VERSION}
ARG ENVIRONMENT=production ARG ENVIRONMENT=production
# Add testing alpine repository # Add testing alpine repository
# RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86" >> /etc/apk/repositories \ RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && apk update
# apk update
# 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 add --no-cache libintl c-client libpng icu-libs libldap libpq libjpeg freetype libzip shadow sudo wget bash git openssh supervisor nginx openssl zip fluent-bit
# force apk upgrade, clear apk cache # force apk upgrade, clear apk cache
RUN apk upgrade && rm -rf /var/cache/apk/* RUN apk --no-cache 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

View File

@ -6,7 +6,7 @@ PHP_MODULES=("calendar" "bcmath" "bz2" "curl" "fileinfo" "gd" "gettext" "iconv"
# #
# Helper functions # Helper functions
# #
declare -i term_width=120 declare -i term_width=80
h1() { h1() {
declare border padding text declare border padding text