Skip to content

Commit

Permalink
Force ARM Platform Docker Build for Graviton2 Compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
h2ouw8n4 committed Nov 6, 2023
1 parent 56f14ce commit a0ac96e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ LABEL name="wp-memcache"
LABEL authors="Derek Muensterman - https://github.com/h2ouw8n4"

# Install Memcache PHP extension
RUN apt-get update && \
apt-get install -y unzip zlib1g zlib1g-dev libssl-dev && \
pecl install memcache && \
docker-php-ext-enable memcache
RUN apt-get update
RUN apt-get install -y unzip zlib1g zlib1g-dev libssl-dev
RUN pecl install memcache docker-php-ext-enable memcache


# Download and install Total Cache plugin
RUN curl -o w3-total-cache.zip -L -O https://downloads.wordpress.org/plugin/w3-total-cache.2.5.0.zip && \
Expand Down

0 comments on commit a0ac96e

Please sign in to comment.