[wgo-web/nginx] Install wp-cli
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [wgo-web/nginx] Install wp-cli
- Date: Tue, 15 Dec 2020 23:06:41 +0000 (UTC)
commit 00ffc9eeb9ecbbd7ccc4278225a54420c179334b
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Wed Dec 16 00:06:33 2020 +0100
Install wp-cli
Dockerfile | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/Dockerfile b/Dockerfile
index 1adf11e..42fa87d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -12,6 +12,10 @@ RUN apt-get install -y libldap-2.4-2 libldap2-dev && \
ADD ipa-ca.crt /etc/ipa-ca.crt
ADD ldap.conf /etc/ldap/ldap.conf
+RUN curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar && \
+ chmod +x wp-cli.phar && \
+ mv wp-cli.phar /usr/local/bin/wp
+
RUN apt-get install -y git && \
git clone --depth 1 --single-branch --branch master
https://gitlab.gnome.org/Infrastructure/gnome-web-www /var/www/gnome-web-www
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]