Add specify WP_VERSION in arguments

This commit is contained in:
xZero707
2021-09-23 17:44:41 +02:00
parent b8646bd85f
commit 6e78e79fa7
3 changed files with 13 additions and 4 deletions

View File

@@ -8,6 +8,7 @@ WORKDIR "/wp"
ENV UID 1000
ENV GID 1000
ENV WP_LOCALE "en_US"
ENV WP_VERSION "5.8.0"
ARG WP_VERSION "5.8.0"
ENV WP_VERSION "${WP_VERSION}"
ENTRYPOINT ["/wp/entrypoint.sh"]