Skip to content

Commit

Permalink
Update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurmmoreira committed Nov 22, 2023
1 parent 4c4fdad commit fa86071
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM wordpress:6.3.1
ENV WOOCOMMERCE_VERSION 8.0.3
ENV WOOCOMMERCE_PDF_INVOICES_VERSION 3.6.3
FROM wordpress:6.4.1
ENV WOOCOMMERCE_VERSION 8.3.0
ENV WOOCOMMERCE_PDF_INVOICES_VERSION 3.7.2
ENV SEQUENCIAL_ORDER_NUMBERS_VERSION 1.5.6

RUN apt update
RUN apt -y install wget
Expand Down Expand Up @@ -34,7 +35,7 @@ RUN wget https://downloads.wordpress.org/plugin/woocommerce-pdf-invoices-packing

RUN rm -rf /usr/src/wordpress/wp-content/plugins/wt-woocommerce-sequential-order-numbers

RUN wget https://downloads.wordpress.org/plugin/wt-woocommerce-sequential-order-numbers.1.5.2.zip -O /tmp/wt-woocommerce-sequential-order-numbers.zip \
RUN wget https://downloads.wordpress.org/plugin/wt-woocommerce-sequential-order-numbers.${SEQUENCIAL_ORDER_NUMBERS_VERSION}.zip -O /tmp/wt-woocommerce-sequential-order-numbers.zip \
&& cd /usr/src/wordpress/wp-content/plugins \
&& unzip /tmp/wt-woocommerce-sequential-order-numbers.zip \
&& rm /tmp/wt-woocommerce-sequential-order-numbers.zip

0 comments on commit fa86071

Please sign in to comment.