-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Unzipping of plugins fails. #105
Copy link
Copy link
Closed
Description
I have this strange problem with extracting my plugins.
I've got an image that is based on wordpress:4-fpm which should take all my checked in plugins and add them to the right dir.
FROM wordpress:4-fpm
# Install unzip
RUN apt-get update && apt-get install -y unzip
# Add all plugins from /plugins dir
WORKDIR /var/www/html/wp-content/plugins/
# Copy all plugins, zipped or not to /wp-content/plugins
COPY ./plugins/* ./
# Unzip
RUN unzip "*.zip"
# Permissions on everything
RUN chown -R www-data:www-data .
# Remove plugins
RUN find . -name '*.zip' -delete
The strange thing is that it doesn't work.
If I change from FROM wordpress:4-fpm to FROM debian:jessie it works as expected.
I've done a small repo demonstrating the strange behavior.
https://github.com/leon/docker-error-wordpress-plugin-extraction
Does anyone have a clue as to why this isn't working?
Has it got anything to do with how wordpress copies itself to /var/www/html/?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels