-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontainer.env
More file actions
78 lines (64 loc) · 1.52 KB
/
container.env
File metadata and controls
78 lines (64 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# PHP config
PHP_REPO="https://packages.sury.org/php/"
PHP_REPO_GPG_KEYS=( "15058500A0235D97F5D10063B188E2B695BD4743" )
PHP_MILESTONES=(
"5.6"
"7.0" "7.1" "7.2" "7.3" "7.4"
"8.0" "8.1" "8.2" "8.3" "8.4" "8.5"
)
PHP_LATEST_MILESTONE="8.5"
PHP_PACKAGES=()
for PHP_MILESTONE in "${PHP_MILESTONES[@]}"; do
PHP_PACKAGES+=(
"php$PHP_MILESTONE-fpm"
"php$PHP_MILESTONE-cli"
"php$PHP_MILESTONE-dev"
)
PHP_PACKAGES+=(
"php$PHP_MILESTONE-bcmath"
"php$PHP_MILESTONE-curl"
"php$PHP_MILESTONE-gd"
"php$PHP_MILESTONE-imap"
"php$PHP_MILESTONE-intl"
"php$PHP_MILESTONE-ldap"
"php$PHP_MILESTONE-mbstring"
"php$PHP_MILESTONE-mysql"
"php$PHP_MILESTONE-xml"
"php$PHP_MILESTONE-zip"
)
PHP_PACKAGES+=( "php$PHP_MILESTONE-xdebug" )
[ "$PHP_MILESTONE" != "7.0" ] && [ "$PHP_MILESTONE" != "7.1" ] \
|| PHP_PACKAGES+=( "php$PHP_MILESTONE-sodium" )
done
PHP_PACKAGES+=(
"gettext"
"php-pear"
)
PHP_MEMORY_LIMIT="512M"
# user config
USER_PACKAGES=(
# basic build essentials
"build-essential"
"tar"
"unzip"
"xz-utils"
# user build tools
"curl"
"gnupg"
"git"
# user shell tools
"bash-completion"
"man-db"
"manpages"
"rsync"
"less"
"vim"
# user development tools
"npm"
)
# container config
REGISTRY="${REGISTRY:-ghcr.io}"
OWNER="${OWNER:-sgsgermany}"
IMAGE="${IMAGE:-php-dev}"
TAGS="${TAGS:-latest}"
BASE_IMAGE="ghcr.io/sgsgermany/debian:trixie"