dev (#24)
Some checks failed
ci/woodpecker/release/build_release/1 Pipeline was successful
ci/woodpecker/release/build_release/2 Pipeline was successful
ci/woodpecker/release/build_release/3 Pipeline was successful
ci/woodpecker/release/build_release/4 Pipeline was successful
ci/woodpecker/cron/build_release/1 Pipeline failed
ci/woodpecker/cron/build_release/2 Pipeline failed
ci/woodpecker/cron/build_release/3 Pipeline failed
ci/woodpecker/cron/build_release/4 Pipeline failed

install simplexml and xmlreader
and fix issue with running as none root user
and remove debug pipeline step

Co-authored-by: Ruben Momoa <ruben.lobbes@lobbes.nl>
Reviewed-on: #24
This commit was merged in pull request #24.
This commit is contained in:
2024-08-29 10:00:02 +02:00
parent e339fbb448
commit dcabe8f814
3 changed files with 4 additions and 10 deletions

View File

@@ -10,14 +10,6 @@ when:
event: [ push, manual ] event: [ push, manual ]
steps: steps:
gen_tags:
image: docker
commands:
- pwd
- ./gen-version-list.sh "v2.0.4" php-${PHP_VERSION}
- cat tags.txt
dev_alpine_build_and_publish: dev_alpine_build_and_publish:
image: woodpeckerci/plugin-docker-buildx image: woodpeckerci/plugin-docker-buildx
settings: settings:

View File

@@ -25,6 +25,8 @@ RUN apk add --no-cache \
php-exif \ php-exif \
php-xmlwriter \ php-xmlwriter \
php-tokenizer \ php-tokenizer \
php-simplexml \
php-xmlreader \
composer \ composer \
npm \ npm \
&& docker-php-ext-install filter pdo_mysql \ && docker-php-ext-install filter pdo_mysql \

View File

@@ -4,7 +4,7 @@
set -e set -e
# install extra packages and extensions on first boot # install extra packages and extensions on first boot
if [[ ! -f /etc/first_boot ]]; then if [[ $(id -u) -eq 0 && ! -f /etc/first_boot ]]; then
if [[ -n "${EXTRA_APK_PACKAGES// /}" ]]; then if [[ -n "${EXTRA_APK_PACKAGES// /}" ]]; then
# shellcheck disable=SC2086 # shellcheck disable=SC2086
apk add --no-cache $EXTRA_APK_PACKAGES apk add --no-cache $EXTRA_APK_PACKAGES
@@ -23,7 +23,7 @@ fi
if [[ "$BOOT_NPM_INSTALL" = true ]]; then if [[ "$BOOT_NPM_INSTALL" = true ]]; then
echo "npm install" echo "npm install"
npm install npm install --cache /tmp/npm
fi fi
if [ ! -f /var/www/html/artisan ]; then if [ ! -f /var/www/html/artisan ]; then