Files
vulhub/base/wordpress/4.6/Dockerfile
Aaron 63285f61aa
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
first commit
2025-09-06 16:08:15 +08:00

15 lines
480 B
Docker

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/*