Skip to content

Commit

Permalink
readd package to try and solve wp client issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Thanhphan1147 committed Oct 19, 2023
1 parent 6f60749 commit a26ab78
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions wordpress_rock/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ name: wordpress
summary: Wordpress rock
description: Wordpress OCI image for the Wordpress charm
base: ubuntu:20.04
# base: bare
# build-base: ubuntu:20.04
run-user: _daemon_
license: Apache-2.0
version: "1.0"
Expand All @@ -18,6 +16,9 @@ parts:
source: files
build-packages:
- apache2
- bzr
- curl
- git
- libapache2-mod-php
- libgmp-dev
- php
Expand All @@ -30,11 +31,14 @@ parts:
- pwgen
- python3
- python3-yaml
- unzip
overlay-packages:
- apache2
- bzr
- curl
- git
- libapache2-mod-php
- libgmp-dev
- curl
- php
- php-curl
- php-gd
Expand All @@ -45,6 +49,7 @@ parts:
- pwgen
- python3
- python3-yaml
- unzip
build-environment:
# Required to source $CRAFT_OVERLAY/etc/apache2/envvars
- APACHE_CONFDIR: /etc/apache2
Expand Down Expand Up @@ -126,11 +131,6 @@ parts:
- PHP_VERSION: 7.4
- IMAGE_RUN_USER_ID: 584792
- IMAGE_RUN_GROUP_ID: 584792
build-packages:
- bzr
- curl
- git
- unzip
override-build: |
curl -sSL --create-dirs https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -o wp
chmod +x wp
Expand Down

0 comments on commit a26ab78

Please sign in to comment.