Skip to content

Commit e654bb4

Browse files
committed
chore(docker): Handle classic image generation and generate for rc 1 & fix regex
1 parent 9594167 commit e654bb4

20 files changed

Lines changed: 204 additions & 52 deletions

File tree

images/9.0.0-beta.1-classic/8.1-apache/Dockerfile renamed to images/9.0.0-1.0-beta.1-classic/8.1-apache/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
FROM prestashop/base:8.1-apache
22
LABEL maintainer="PrestaShop Core Team <coreteam@prestashop.com>"
33

4-
ENV PS_VERSION 9.0.0-beta.1-classic
4+
ENV PS_VERSION 9.0.0-1.0-beta.1-classic
55

66
# Get PrestaShop
7-
ADD https://github.com/PrestaShopCorp/PrestaShop-classic/releases/download/9.0.0-beta.1-classic/prestashop_9.0.0-beta.1-classic.zip /tmp/prestashop.zip
7+
ADD https://github.com/prestashopcorp/prestashop-classic/releases/download/9.0.0-1.0-beta.1/prestashop_9.0.0-1.0-beta.1.zip /tmp/prestashop.zip
88

99
# Extract
1010
RUN mkdir -p /tmp/data-ps \

images/9.0.0-beta.1-classic/8.1-fpm/Dockerfile renamed to images/9.0.0-1.0-beta.1-classic/8.1-fpm/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
FROM prestashop/base:8.1-fpm
22
LABEL maintainer="PrestaShop Core Team <coreteam@prestashop.com>"
33

4-
ENV PS_VERSION 9.0.0-beta.1-classic
4+
ENV PS_VERSION 9.0.0-1.0-beta.1-classic
55

66
# Get PrestaShop
7-
ADD https://github.com/PrestaShopCorp/PrestaShop-classic/releases/download/9.0.0-beta.1-classic/prestashop_9.0.0-beta.1-classic.zip /tmp/prestashop.zip
7+
ADD https://github.com/prestashopcorp/prestashop-classic/releases/download/9.0.0-1.0-beta.1/prestashop_9.0.0-1.0-beta.1.zip /tmp/prestashop.zip
88

99
# Extract
1010
RUN mkdir -p /tmp/data-ps \

images/9.0.0-beta.1-classic/8.2-apache/Dockerfile renamed to images/9.0.0-1.0-beta.1-classic/8.2-apache/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
FROM prestashop/base:8.2-apache
22
LABEL maintainer="PrestaShop Core Team <coreteam@prestashop.com>"
33

4-
ENV PS_VERSION 9.0.0-beta.1-classic
4+
ENV PS_VERSION 9.0.0-1.0-beta.1-classic
55

66
# Get PrestaShop
7-
ADD https://github.com/PrestaShopCorp/PrestaShop-classic/releases/download/9.0.0-beta.1-classic/prestashop_9.0.0-beta.1-classic.zip /tmp/prestashop.zip
7+
ADD https://github.com/prestashopcorp/prestashop-classic/releases/download/9.0.0-1.0-beta.1/prestashop_9.0.0-1.0-beta.1.zip /tmp/prestashop.zip
88

99
# Extract
1010
RUN mkdir -p /tmp/data-ps \

images/9.0.0-beta.1-classic/8.2-fpm/Dockerfile renamed to images/9.0.0-1.0-beta.1-classic/8.2-fpm/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
FROM prestashop/base:8.2-fpm
22
LABEL maintainer="PrestaShop Core Team <coreteam@prestashop.com>"
33

4-
ENV PS_VERSION 9.0.0-beta.1-classic
4+
ENV PS_VERSION 9.0.0-1.0-beta.1-classic
55

66
# Get PrestaShop
7-
ADD https://github.com/PrestaShopCorp/PrestaShop-classic/releases/download/9.0.0-beta.1-classic/prestashop_9.0.0-beta.1-classic.zip /tmp/prestashop.zip
7+
ADD https://github.com/prestashopcorp/prestashop-classic/releases/download/9.0.0-1.0-beta.1/prestashop_9.0.0-1.0-beta.1.zip /tmp/prestashop.zip
88

99
# Extract
1010
RUN mkdir -p /tmp/data-ps \

images/9.0.0-beta.1-classic/8.3-apache/Dockerfile renamed to images/9.0.0-1.0-beta.1-classic/8.3-apache/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
FROM prestashop/base:8.3-apache
22
LABEL maintainer="PrestaShop Core Team <coreteam@prestashop.com>"
33

4-
ENV PS_VERSION 9.0.0-beta.1-classic
4+
ENV PS_VERSION 9.0.0-1.0-beta.1-classic
55

66
# Get PrestaShop
7-
ADD https://github.com/PrestaShopCorp/PrestaShop-classic/releases/download/9.0.0-beta.1-classic/prestashop_9.0.0-beta.1-classic.zip /tmp/prestashop.zip
7+
ADD https://github.com/prestashopcorp/prestashop-classic/releases/download/9.0.0-1.0-beta.1/prestashop_9.0.0-1.0-beta.1.zip /tmp/prestashop.zip
88

99
# Extract
1010
RUN mkdir -p /tmp/data-ps \

images/9.0.0-beta.1-classic/8.3-fpm/Dockerfile renamed to images/9.0.0-1.0-beta.1-classic/8.3-fpm/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
FROM prestashop/base:8.3-fpm
22
LABEL maintainer="PrestaShop Core Team <coreteam@prestashop.com>"
33

4-
ENV PS_VERSION 9.0.0-beta.1-classic
4+
ENV PS_VERSION 9.0.0-1.0-beta.1-classic
55

66
# Get PrestaShop
7-
ADD https://github.com/PrestaShopCorp/PrestaShop-classic/releases/download/9.0.0-beta.1-classic/prestashop_9.0.0-beta.1-classic.zip /tmp/prestashop.zip
7+
ADD https://github.com/prestashopcorp/prestashop-classic/releases/download/9.0.0-1.0-beta.1/prestashop_9.0.0-1.0-beta.1.zip /tmp/prestashop.zip
88

99
# Extract
1010
RUN mkdir -p /tmp/data-ps \

images/9.0.0-beta.1-classic/8.4-apache/Dockerfile renamed to images/9.0.0-1.0-beta.1-classic/8.4-apache/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
FROM prestashop/base:8.4-apache
22
LABEL maintainer="PrestaShop Core Team <coreteam@prestashop.com>"
33

4-
ENV PS_VERSION 9.0.0-beta.1-classic
4+
ENV PS_VERSION 9.0.0-1.0-beta.1-classic
55

66
# Get PrestaShop
7-
ADD https://github.com/PrestaShopCorp/PrestaShop-classic/releases/download/9.0.0-beta.1-classic/prestashop_9.0.0-beta.1-classic.zip /tmp/prestashop.zip
7+
ADD https://github.com/prestashopcorp/prestashop-classic/releases/download/9.0.0-1.0-beta.1/prestashop_9.0.0-1.0-beta.1.zip /tmp/prestashop.zip
88

99
# Extract
1010
RUN mkdir -p /tmp/data-ps \

images/9.0.0-beta.1-classic/8.4-fpm/Dockerfile renamed to images/9.0.0-1.0-beta.1-classic/8.4-fpm/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
FROM prestashop/base:8.4-fpm
22
LABEL maintainer="PrestaShop Core Team <coreteam@prestashop.com>"
33

4-
ENV PS_VERSION 9.0.0-beta.1-classic
4+
ENV PS_VERSION 9.0.0-1.0-beta.1-classic
55

66
# Get PrestaShop
7-
ADD https://github.com/PrestaShopCorp/PrestaShop-classic/releases/download/9.0.0-beta.1-classic/prestashop_9.0.0-beta.1-classic.zip /tmp/prestashop.zip
7+
ADD https://github.com/prestashopcorp/prestashop-classic/releases/download/9.0.0-1.0-beta.1/prestashop_9.0.0-1.0-beta.1.zip /tmp/prestashop.zip
88

99
# Extract
1010
RUN mkdir -p /tmp/data-ps \
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM prestashop/base:8.1-apache
2+
LABEL maintainer="PrestaShop Core Team <coreteam@prestashop.com>"
3+
4+
ENV PS_VERSION 9.0.0-1.0-rc.1-classic
5+
6+
# Get PrestaShop
7+
ADD https://github.com/prestashopcorp/prestashop-classic/releases/download/9.0.0-1.0-rc.1/prestashop_9.0.0-1.0-rc.1.zip /tmp/prestashop.zip
8+
9+
# Extract
10+
RUN mkdir -p /tmp/data-ps \
11+
&& unzip -q /tmp/prestashop.zip -d /tmp/data-ps/ \
12+
&& bash /tmp/ps-extractor.sh /tmp/data-ps \
13+
&& rm /tmp/prestashop.zip
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM prestashop/base:8.1-fpm
2+
LABEL maintainer="PrestaShop Core Team <coreteam@prestashop.com>"
3+
4+
ENV PS_VERSION 9.0.0-1.0-rc.1-classic
5+
6+
# Get PrestaShop
7+
ADD https://github.com/prestashopcorp/prestashop-classic/releases/download/9.0.0-1.0-rc.1/prestashop_9.0.0-1.0-rc.1.zip /tmp/prestashop.zip
8+
9+
# Extract
10+
RUN mkdir -p /tmp/data-ps \
11+
&& unzip -q /tmp/prestashop.zip -d /tmp/data-ps/ \
12+
&& bash /tmp/ps-extractor.sh /tmp/data-ps \
13+
&& rm /tmp/prestashop.zip

0 commit comments

Comments
 (0)