first commit
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
This commit is contained in:
15
base/wordpress/4.6/Dockerfile
Normal file
15
base/wordpress/4.6/Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
FROM vulhub/httpd:bad-http
|
||||
|
||||
LABEL maintainer="phithon <root@leavesongs.com>"
|
||||
|
||||
RUN set -ex; \
|
||||
mkdir -p /usr/src/wordpress; \
|
||||
wget -qO- https://github.com/WordPress/WordPress/archive/4.6.tar.gz | \
|
||||
tar zx -C /usr/src/wordpress --strip-components=1; \
|
||||
chown -R www-data:www-data /usr/src/wordpress; \
|
||||
rm -rf /usr/local/bin/docker-entrypoint.sh
|
||||
|
||||
COPY docker-entrypoint.sh /usr/local/bin/
|
||||
|
||||
RUN chmod +x /usr/local/bin/docker-entrypoint.sh \
|
||||
&& rm -rf /var/www/html/*
|
Reference in New Issue
Block a user