Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set the WP-CLI cache directory to something we know is writable #161

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions images/5.3/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ COPY entrypoint.sh /entrypoint.sh

RUN chmod +x /entrypoint.sh

# WP CLI config
ENV WP_CLI_CACHE_DIR=/tmp/wp-cli

ENTRYPOINT [ "/entrypoint.sh" ]


Expand Down
3 changes: 3 additions & 0 deletions images/5.4/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ COPY entrypoint.sh /entrypoint.sh

RUN chmod +x /entrypoint.sh

# WP CLI config
ENV WP_CLI_CACHE_DIR=/tmp/wp-cli

ENTRYPOINT [ "/entrypoint.sh" ]


Expand Down
3 changes: 3 additions & 0 deletions images/5.5/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ COPY entrypoint.sh /entrypoint.sh

RUN chmod +x /entrypoint.sh

# WP CLI config
ENV WP_CLI_CACHE_DIR=/tmp/wp-cli

ENTRYPOINT [ "/entrypoint.sh" ]


Expand Down
3 changes: 3 additions & 0 deletions images/5.6.20/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ COPY entrypoint.sh /entrypoint.sh

RUN chmod +x /entrypoint.sh

# WP CLI config
ENV WP_CLI_CACHE_DIR=/tmp/wp-cli

ENTRYPOINT [ "/entrypoint.sh" ]


Expand Down
3 changes: 3 additions & 0 deletions images/5.6/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ COPY entrypoint.sh /entrypoint.sh

RUN chmod +x /entrypoint.sh

# WP CLI config
ENV WP_CLI_CACHE_DIR=/tmp/wp-cli

ENTRYPOINT [ "/entrypoint.sh" ]


Expand Down
3 changes: 3 additions & 0 deletions images/7.0/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ COPY entrypoint.sh /entrypoint.sh

RUN chmod +x /entrypoint.sh

# WP CLI config
ENV WP_CLI_CACHE_DIR=/tmp/wp-cli

ENTRYPOINT [ "/entrypoint.sh" ]


Expand Down
3 changes: 3 additions & 0 deletions images/7.1/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ COPY entrypoint.sh /entrypoint.sh

RUN chmod +x /entrypoint.sh

# WP CLI config
ENV WP_CLI_CACHE_DIR=/tmp/wp-cli

ENTRYPOINT [ "/entrypoint.sh" ]


Expand Down
3 changes: 3 additions & 0 deletions images/7.2/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ COPY entrypoint.sh /entrypoint.sh

RUN chmod +x /entrypoint.sh

# WP CLI config
ENV WP_CLI_CACHE_DIR=/tmp/wp-cli

ENTRYPOINT [ "/entrypoint.sh" ]


Expand Down
3 changes: 3 additions & 0 deletions images/7.3/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ COPY entrypoint.sh /entrypoint.sh

RUN chmod +x /entrypoint.sh

# WP CLI config
ENV WP_CLI_CACHE_DIR=/tmp/wp-cli

ENTRYPOINT [ "/entrypoint.sh" ]


Expand Down
3 changes: 3 additions & 0 deletions images/7.4/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ COPY entrypoint.sh /entrypoint.sh

RUN chmod +x /entrypoint.sh

# WP CLI config
ENV WP_CLI_CACHE_DIR=/tmp/wp-cli

ENTRYPOINT [ "/entrypoint.sh" ]


Expand Down
3 changes: 3 additions & 0 deletions images/8.0/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ COPY entrypoint.sh /entrypoint.sh

RUN chmod +x /entrypoint.sh

# WP CLI config
ENV WP_CLI_CACHE_DIR=/tmp/wp-cli

ENTRYPOINT [ "/entrypoint.sh" ]


Expand Down
3 changes: 3 additions & 0 deletions images/8.1/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ COPY entrypoint.sh /entrypoint.sh

RUN chmod +x /entrypoint.sh

# WP CLI config
ENV WP_CLI_CACHE_DIR=/tmp/wp-cli

ENTRYPOINT [ "/entrypoint.sh" ]


Expand Down
3 changes: 3 additions & 0 deletions images/8.2/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ COPY entrypoint.sh /entrypoint.sh

RUN chmod +x /entrypoint.sh

# WP CLI config
ENV WP_CLI_CACHE_DIR=/tmp/wp-cli

ENTRYPOINT [ "/entrypoint.sh" ]


Expand Down
3 changes: 3 additions & 0 deletions images/8.3/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ COPY entrypoint.sh /entrypoint.sh

RUN chmod +x /entrypoint.sh

# WP CLI config
ENV WP_CLI_CACHE_DIR=/tmp/wp-cli

ENTRYPOINT [ "/entrypoint.sh" ]


Expand Down
3 changes: 3 additions & 0 deletions images/8.4/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ COPY entrypoint.sh /entrypoint.sh

RUN chmod +x /entrypoint.sh

# WP CLI config
ENV WP_CLI_CACHE_DIR=/tmp/wp-cli

ENTRYPOINT [ "/entrypoint.sh" ]


Expand Down
3 changes: 3 additions & 0 deletions templates/Dockerfile-cli.template
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ COPY entrypoint.sh /entrypoint.sh

RUN chmod +x /entrypoint.sh

# WP CLI config
ENV WP_CLI_CACHE_DIR=/tmp/wp-cli

ENTRYPOINT [ "/entrypoint.sh" ]
%%/NEW_PHP%%

Expand Down
Loading