Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Docker - WooCommerce images
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Open Tools
Docker - WooCommerce images
Commits
43fab79f
Commit
43fab79f
authored
9 years ago
by
Maciej Osyda
Browse files
Options
Downloads
Patches
Plain Diff
Added execute rights to install script
parent
b2310cbf
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+2
-0
2 additions, 0 deletions
Dockerfile
run.sh
+0
-2
0 additions, 2 deletions
run.sh
with
2 additions
and
2 deletions
Dockerfile
+
2
−
0
View file @
43fab79f
...
@@ -6,7 +6,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get -y install unzip curl
...
@@ -6,7 +6,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get -y install unzip curl
ADD
run.sh /run.sh
ADD
run.sh /run.sh
RUN
chmod
+x /run.sh
RUN
chmod
+x /run.sh
RUN
mkdir
-p
/var/www/html
RUN
mkdir
-p
/var/www/html
ADD
install-wc.sh /var/www/html/install-wc.sh
ADD
install-wc.sh /var/www/html/install-wc.sh
RUN
chmod
+x /var/www/html/install-wc.sh
# apache config
# apache config
ENV
APACHE_RUN_USER www-data
ENV
APACHE_RUN_USER www-data
...
...
This diff is collapsed.
Click to expand it.
run.sh
+
0
−
2
View file @
43fab79f
#!/bin/bash
#!/bin/bash
chmod
+x /var/www/html/install-wc.sh
curl
-O
-s
https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
curl
-O
-s
https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
chmod
+x wp-cli.phar
chmod
+x wp-cli.phar
sudo mv
wp-cli.phar /var/www/html/wp-cli
sudo mv
wp-cli.phar /var/www/html/wp-cli
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment