Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: drop gnupg extension #340

Merged
merged 1 commit into from
Aug 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion features/src/php/devcontainer-feature.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "php",
"name": "PHP",
"description": "Installs PHP into the Dev Environment",
"version": "2.5.1",
"version": "2.6.0",
"documentationURL": "https://github.com/Automattic/vip-codespaces/tree/trunk/features/src/php",
"options": {
"version": {
Expand Down
6 changes: 3 additions & 3 deletions features/src/php/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ setup_php83_alpine() {

setup_php81_deb() {
if [ "${LITE_INSTALL}" != 'true' ]; then
EXTENSIONS="ghostscript php8.1-bcmath php8.1-gnupg php8.1-igbinary php8.1-intl php8.1-mcrypt php8.1-soap php8.1-ssh2"
EXTENSIONS="ghostscript php8.1-bcmath php8.1-igbinary php8.1-intl php8.1-mcrypt php8.1-soap php8.1-ssh2"
else
EXTENSIONS=
fi
Expand Down Expand Up @@ -262,7 +262,7 @@ setup_php81_deb() {

setup_php82_deb() {
if [ "${LITE_INSTALL}" != 'true' ]; then
EXTENSIONS="ghostscript php8.2-bcmath php8.2-gnupg php8.2-igbinary php8.2-intl php8.2-mcrypt php8.2-soap php8.2-ssh2"
EXTENSIONS="ghostscript php8.2-bcmath php8.2-igbinary php8.2-intl php8.2-mcrypt php8.2-soap php8.2-ssh2"
else
EXTENSIONS=
fi
Expand Down Expand Up @@ -303,7 +303,7 @@ setup_php82_deb() {

setup_php83_deb() {
if [ "${LITE_INSTALL}" != 'true' ]; then
EXTENSIONS="ghostscript php8.3-bcmath php8.3-gnupg php8.3-igbinary php8.3-intl php8.3-mcrypt php8.3-soap php8.3-ssh2"
EXTENSIONS="ghostscript php8.3-bcmath php8.3-igbinary php8.3-intl php8.3-mcrypt php8.3-soap php8.3-ssh2"
else
EXTENSIONS=
fi
Expand Down
1 change: 0 additions & 1 deletion features/test/php/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ check "composer exists" which composer
check "www-data user exists" getent passwd www-data
check "www-data group exists" getent group www-data

# gnupg is not available on Alpine
MODULES="apcu bcmath calendar ctype curl date dom exif fileinfo filter ftp gd gmagick gmp hash iconv igbinary intl json libxml mbstring mcrypt memcache memcached mysqli mysqlnd openssl pcntl pcre pdo_mysql pdo_sqlite phar posix random reflection session shmop simplexml soap sockets sodium sqlite3 ssh2 sysvsem sysvshm timezonedb tokenizer xml xmlreader xmlwriter zip zlib"
for module in ${MODULES}; do
check "PHP module ${module} exists" sh -c "php -m | grep -qi ^${module}$"
Expand Down