Skip to content

Commit

Permalink
Use nightly build (rather than buiild it)
Browse files Browse the repository at this point in the history
  • Loading branch information
Progi1984 committed Dec 5, 2024
1 parent 3fc902c commit 030d4b5
Show file tree
Hide file tree
Showing 91 changed files with 676 additions and 234 deletions.
18 changes: 14 additions & 4 deletions Dockerfile-branch.model
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
FROM prestashop/base:$container_version
LABEL maintainer="PrestaShop Core Team <[email protected]>"

ENV PS_VERSION $branch_version

ENV PATH /root/google-cloud-sdk/bin/:$$PATH

RUN apt update
RUN apt -y install git
RUN apt -y install \
python3 \
curl \
bash

ENV PS_BRANCH=$branch_version
ENV NODE_VERSION=$node_version
RUN curl -sSL https://sdk.cloud.google.com | bash
RUN gcloud config set core/disable_usage_reporting true && \
gcloud config set component_manager/disable_update_check true && \
gcloud config set metrics/environment github_docker_image && \
gcloud --version

CMD ["/tmp/docker_branch_run.sh"]
CMD ["/tmp/docker_nightly_run.sh"]
2 changes: 1 addition & 1 deletion base/config_files/docker_branch_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ else
echo "\n* Build of assets was disabled...";
fi

/tmp/docker_run.sh
/tmp/docker_run.sh
2 changes: 1 addition & 1 deletion base/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E 'develop.+\.zip$$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down
3 changes: 1 addition & 2 deletions base/images/7.1-apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ RUN apt-get update \
libonig-dev

RUN rm -rf /var/lib/apt/lists/*
# PHP < 7.4 have an old syntax to install GD. See https://github.com/docker-library/php/issues/912
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ --with-webp-dir=/usr/include
RUN docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ --with-webp=/usr/include
RUN docker-php-ext-install iconv intl pdo_mysql mbstring soap gd zip bcmath

RUN docker-php-source extract \
Expand Down
2 changes: 1 addition & 1 deletion base/images/7.1-apache/config_files/docker_branch_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ else
echo "\n* Build of assets was disabled...";
fi

/tmp/docker_run.sh
/tmp/docker_run.sh
2 changes: 1 addition & 1 deletion base/images/7.1-apache/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E 'develop.+\.zip$$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down
3 changes: 1 addition & 2 deletions base/images/7.1-fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ RUN apt-get update \
libonig-dev

RUN rm -rf /var/lib/apt/lists/*
# PHP < 7.4 have an old syntax to install GD. See https://github.com/docker-library/php/issues/912
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ --with-webp-dir=/usr/include
RUN docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ --with-webp=/usr/include
RUN docker-php-ext-install iconv intl pdo_mysql mbstring soap gd zip bcmath

RUN docker-php-source extract \
Expand Down
2 changes: 1 addition & 1 deletion base/images/7.1-fpm/config_files/docker_branch_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ else
echo "\n* Build of assets was disabled...";
fi

/tmp/docker_run.sh
/tmp/docker_run.sh
2 changes: 1 addition & 1 deletion base/images/7.1-fpm/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E 'develop.+\.zip$$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down
3 changes: 1 addition & 2 deletions base/images/7.2-apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ RUN apt-get update \
libonig-dev

RUN rm -rf /var/lib/apt/lists/*
# PHP < 7.4 have an old syntax to install GD. See https://github.com/docker-library/php/issues/912
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ --with-webp-dir=/usr/include
RUN docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ --with-webp=/usr/include
RUN docker-php-ext-install iconv intl pdo_mysql mbstring soap gd zip bcmath

RUN docker-php-source extract \
Expand Down
2 changes: 1 addition & 1 deletion base/images/7.2-apache/config_files/docker_branch_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ else
echo "\n* Build of assets was disabled...";
fi

/tmp/docker_run.sh
/tmp/docker_run.sh
2 changes: 1 addition & 1 deletion base/images/7.2-apache/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E 'develop.+\.zip$$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down
3 changes: 1 addition & 2 deletions base/images/7.2-fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ RUN apt-get update \
libonig-dev

RUN rm -rf /var/lib/apt/lists/*
# PHP < 7.4 have an old syntax to install GD. See https://github.com/docker-library/php/issues/912
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ --with-webp-dir=/usr/include
RUN docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ --with-webp=/usr/include
RUN docker-php-ext-install iconv intl pdo_mysql mbstring soap gd zip bcmath

RUN docker-php-source extract \
Expand Down
2 changes: 1 addition & 1 deletion base/images/7.2-fpm/config_files/docker_branch_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ else
echo "\n* Build of assets was disabled...";
fi

/tmp/docker_run.sh
/tmp/docker_run.sh
2 changes: 1 addition & 1 deletion base/images/7.2-fpm/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E 'develop.+\.zip$$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down
3 changes: 1 addition & 2 deletions base/images/7.3-apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ RUN apt-get update \
libonig-dev

RUN rm -rf /var/lib/apt/lists/*
# PHP < 7.4 have an old syntax to install GD. See https://github.com/docker-library/php/issues/912
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ --with-webp-dir=/usr/include
RUN docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ --with-webp=/usr/include
RUN docker-php-ext-install iconv intl pdo_mysql mbstring soap gd zip bcmath

RUN docker-php-source extract \
Expand Down
2 changes: 1 addition & 1 deletion base/images/7.3-apache/config_files/docker_branch_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ else
echo "\n* Build of assets was disabled...";
fi

/tmp/docker_run.sh
/tmp/docker_run.sh
2 changes: 1 addition & 1 deletion base/images/7.3-apache/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E 'develop.+\.zip$$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down
3 changes: 1 addition & 2 deletions base/images/7.3-fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ RUN apt-get update \
libonig-dev

RUN rm -rf /var/lib/apt/lists/*
# PHP < 7.4 have an old syntax to install GD. See https://github.com/docker-library/php/issues/912
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ --with-webp-dir=/usr/include
RUN docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ --with-webp=/usr/include
RUN docker-php-ext-install iconv intl pdo_mysql mbstring soap gd zip bcmath

RUN docker-php-source extract \
Expand Down
2 changes: 1 addition & 1 deletion base/images/7.3-fpm/config_files/docker_branch_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ else
echo "\n* Build of assets was disabled...";
fi

/tmp/docker_run.sh
/tmp/docker_run.sh
2 changes: 1 addition & 1 deletion base/images/7.3-fpm/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E 'develop.+\.zip$$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down
3 changes: 1 addition & 2 deletions base/images/7.4-apache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ RUN apt-get update \
libonig-dev

RUN rm -rf /var/lib/apt/lists/*
# PHP < 7.4 have an old syntax to install GD. See https://github.com/docker-library/php/issues/912
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ --with-webp-dir=/usr/include
RUN docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ --with-webp=/usr/include
RUN docker-php-ext-install iconv intl pdo_mysql mbstring soap gd zip bcmath

RUN docker-php-source extract \
Expand Down
2 changes: 1 addition & 1 deletion base/images/7.4-apache/config_files/docker_branch_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ else
echo "\n* Build of assets was disabled...";
fi

/tmp/docker_run.sh
/tmp/docker_run.sh
2 changes: 1 addition & 1 deletion base/images/7.4-apache/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E 'develop.+\.zip$$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down
3 changes: 1 addition & 2 deletions base/images/7.4-fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ RUN apt-get update \
libonig-dev

RUN rm -rf /var/lib/apt/lists/*
# PHP < 7.4 have an old syntax to install GD. See https://github.com/docker-library/php/issues/912
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ --with-webp-dir=/usr/include
RUN docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ --with-webp=/usr/include
RUN docker-php-ext-install iconv intl pdo_mysql mbstring soap gd zip bcmath

RUN docker-php-source extract \
Expand Down
2 changes: 1 addition & 1 deletion base/images/7.4-fpm/config_files/docker_branch_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ else
echo "\n* Build of assets was disabled...";
fi

/tmp/docker_run.sh
/tmp/docker_run.sh
2 changes: 1 addition & 1 deletion base/images/7.4-fpm/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E 'develop.+\.zip$$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down
2 changes: 1 addition & 1 deletion base/images/8.0-apache/config_files/docker_branch_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ else
echo "\n* Build of assets was disabled...";
fi

/tmp/docker_run.sh
/tmp/docker_run.sh
2 changes: 1 addition & 1 deletion base/images/8.0-apache/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E 'develop.+\.zip$$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down
2 changes: 1 addition & 1 deletion base/images/8.0-fpm/config_files/docker_branch_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ else
echo "\n* Build of assets was disabled...";
fi

/tmp/docker_run.sh
/tmp/docker_run.sh
2 changes: 1 addition & 1 deletion base/images/8.0-fpm/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E 'develop.+\.zip$$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down
2 changes: 1 addition & 1 deletion base/images/8.1-apache/config_files/docker_branch_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ else
echo "\n* Build of assets was disabled...";
fi

/tmp/docker_run.sh
/tmp/docker_run.sh
2 changes: 1 addition & 1 deletion base/images/8.1-apache/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E 'develop.+\.zip$$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down
2 changes: 1 addition & 1 deletion base/images/8.1-fpm/config_files/docker_branch_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ else
echo "\n* Build of assets was disabled...";
fi

/tmp/docker_run.sh
/tmp/docker_run.sh
2 changes: 1 addition & 1 deletion base/images/8.1-fpm/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E 'develop.+\.zip$$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down
2 changes: 1 addition & 1 deletion base/images/8.2-apache/config_files/docker_branch_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ else
echo "\n* Build of assets was disabled...";
fi

/tmp/docker_run.sh
/tmp/docker_run.sh
2 changes: 1 addition & 1 deletion base/images/8.2-apache/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E 'develop.+\.zip$$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down
2 changes: 1 addition & 1 deletion base/images/8.2-fpm/config_files/docker_branch_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ else
echo "\n* Build of assets was disabled...";
fi

/tmp/docker_run.sh
/tmp/docker_run.sh
2 changes: 1 addition & 1 deletion base/images/8.2-fpm/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E 'develop.+\.zip$$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down
2 changes: 1 addition & 1 deletion base/images/8.3-apache/config_files/docker_branch_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ else
echo "\n* Build of assets was disabled...";
fi

/tmp/docker_run.sh
/tmp/docker_run.sh
2 changes: 1 addition & 1 deletion base/images/8.3-apache/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E 'develop.+\.zip$$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down
2 changes: 1 addition & 1 deletion base/images/8.3-fpm/config_files/docker_branch_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ else
echo "\n* Build of assets was disabled...";
fi

/tmp/docker_run.sh
/tmp/docker_run.sh
2 changes: 1 addition & 1 deletion base/images/8.3-fpm/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E 'develop.+\.zip$$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down
2 changes: 1 addition & 1 deletion base/images/8.4-apache/config_files/docker_branch_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ else
echo "\n* Build of assets was disabled...";
fi

/tmp/docker_run.sh
/tmp/docker_run.sh
2 changes: 1 addition & 1 deletion base/images/8.4-apache/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E 'develop.+\.zip$$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down
2 changes: 1 addition & 1 deletion base/images/8.4-fpm/config_files/docker_branch_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ else
echo "\n* Build of assets was disabled...";
fi

/tmp/docker_run.sh
/tmp/docker_run.sh
Loading

0 comments on commit 030d4b5

Please sign in to comment.