Skip to content

Commit c515b09

Browse files
authored
Merge pull request #460 from PrestaShop/9.1.x
2 parents 09af7a7 + 504da23 commit c515b09

File tree

11 files changed

+267
-0
lines changed

11 files changed

+267
-0
lines changed

images/9.1.x/8.1-apache/Dockerfile

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
FROM --platform=linux/amd64 gcr.io/google.com/cloudsdktool/google-cloud-cli:alpine AS gcloud_amd64
2+
FROM --platform=linux/arm64 gcr.io/google.com/cloudsdktool/google-cloud-cli:alpine AS gcloud_arm64
3+
# Google does not provide images for armv7, we use another platform for this case
4+
FROM --platform=linux/amd64 gcr.io/google.com/cloudsdktool/google-cloud-cli:alpine AS gcloud_arm
5+
FROM gcloud_${TARGETARCH} AS gcloud
6+
7+
ENV PS_VERSION=9.1.x
8+
9+
RUN gcloud config set core/disable_usage_reporting true && \
10+
gcloud config set component_manager/disable_update_check true && \
11+
gcloud config set metrics/environment github_docker_image && \
12+
gcloud --version
13+
14+
RUN gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E "$PS_VERSION.+\.zip$" | tail -1` /tmp/prestashop.zip
15+
16+
FROM prestashop/base:8.1-apache
17+
LABEL maintainer="PrestaShop Core Team <[email protected]>"
18+
19+
ENV PS_VERSION=9.1.x
20+
COPY --from=gcloud /tmp/prestashop.zip /tmp/prestashop.zip
21+
22+
# Extract PrestaShop files
23+
RUN mkdir -p /tmp/data-ps && \
24+
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/ && \
25+
bash /tmp/ps-extractor.sh /tmp/data-ps && \
26+
rm /tmp/prestashop.zip

images/9.1.x/8.1-fpm/Dockerfile

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
FROM --platform=linux/amd64 gcr.io/google.com/cloudsdktool/google-cloud-cli:alpine AS gcloud_amd64
2+
FROM --platform=linux/arm64 gcr.io/google.com/cloudsdktool/google-cloud-cli:alpine AS gcloud_arm64
3+
# Google does not provide images for armv7, we use another platform for this case
4+
FROM --platform=linux/amd64 gcr.io/google.com/cloudsdktool/google-cloud-cli:alpine AS gcloud_arm
5+
FROM gcloud_${TARGETARCH} AS gcloud
6+
7+
ENV PS_VERSION=9.1.x
8+
9+
RUN gcloud config set core/disable_usage_reporting true && \
10+
gcloud config set component_manager/disable_update_check true && \
11+
gcloud config set metrics/environment github_docker_image && \
12+
gcloud --version
13+
14+
RUN gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E "$PS_VERSION.+\.zip$" | tail -1` /tmp/prestashop.zip
15+
16+
FROM prestashop/base:8.1-fpm
17+
LABEL maintainer="PrestaShop Core Team <[email protected]>"
18+
19+
ENV PS_VERSION=9.1.x
20+
COPY --from=gcloud /tmp/prestashop.zip /tmp/prestashop.zip
21+
22+
# Extract PrestaShop files
23+
RUN mkdir -p /tmp/data-ps && \
24+
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/ && \
25+
bash /tmp/ps-extractor.sh /tmp/data-ps && \
26+
rm /tmp/prestashop.zip

images/9.1.x/8.2-apache/Dockerfile

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
FROM --platform=linux/amd64 gcr.io/google.com/cloudsdktool/google-cloud-cli:alpine AS gcloud_amd64
2+
FROM --platform=linux/arm64 gcr.io/google.com/cloudsdktool/google-cloud-cli:alpine AS gcloud_arm64
3+
# Google does not provide images for armv7, we use another platform for this case
4+
FROM --platform=linux/amd64 gcr.io/google.com/cloudsdktool/google-cloud-cli:alpine AS gcloud_arm
5+
FROM gcloud_${TARGETARCH} AS gcloud
6+
7+
ENV PS_VERSION=9.1.x
8+
9+
RUN gcloud config set core/disable_usage_reporting true && \
10+
gcloud config set component_manager/disable_update_check true && \
11+
gcloud config set metrics/environment github_docker_image && \
12+
gcloud --version
13+
14+
RUN gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E "$PS_VERSION.+\.zip$" | tail -1` /tmp/prestashop.zip
15+
16+
FROM prestashop/base:8.2-apache
17+
LABEL maintainer="PrestaShop Core Team <[email protected]>"
18+
19+
ENV PS_VERSION=9.1.x
20+
COPY --from=gcloud /tmp/prestashop.zip /tmp/prestashop.zip
21+
22+
# Extract PrestaShop files
23+
RUN mkdir -p /tmp/data-ps && \
24+
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/ && \
25+
bash /tmp/ps-extractor.sh /tmp/data-ps && \
26+
rm /tmp/prestashop.zip

images/9.1.x/8.2-fpm/Dockerfile

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
FROM --platform=linux/amd64 gcr.io/google.com/cloudsdktool/google-cloud-cli:alpine AS gcloud_amd64
2+
FROM --platform=linux/arm64 gcr.io/google.com/cloudsdktool/google-cloud-cli:alpine AS gcloud_arm64
3+
# Google does not provide images for armv7, we use another platform for this case
4+
FROM --platform=linux/amd64 gcr.io/google.com/cloudsdktool/google-cloud-cli:alpine AS gcloud_arm
5+
FROM gcloud_${TARGETARCH} AS gcloud
6+
7+
ENV PS_VERSION=9.1.x
8+
9+
RUN gcloud config set core/disable_usage_reporting true && \
10+
gcloud config set component_manager/disable_update_check true && \
11+
gcloud config set metrics/environment github_docker_image && \
12+
gcloud --version
13+
14+
RUN gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E "$PS_VERSION.+\.zip$" | tail -1` /tmp/prestashop.zip
15+
16+
FROM prestashop/base:8.2-fpm
17+
LABEL maintainer="PrestaShop Core Team <[email protected]>"
18+
19+
ENV PS_VERSION=9.1.x
20+
COPY --from=gcloud /tmp/prestashop.zip /tmp/prestashop.zip
21+
22+
# Extract PrestaShop files
23+
RUN mkdir -p /tmp/data-ps && \
24+
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/ && \
25+
bash /tmp/ps-extractor.sh /tmp/data-ps && \
26+
rm /tmp/prestashop.zip

images/9.1.x/8.3-apache/Dockerfile

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
FROM --platform=linux/amd64 gcr.io/google.com/cloudsdktool/google-cloud-cli:alpine AS gcloud_amd64
2+
FROM --platform=linux/arm64 gcr.io/google.com/cloudsdktool/google-cloud-cli:alpine AS gcloud_arm64
3+
# Google does not provide images for armv7, we use another platform for this case
4+
FROM --platform=linux/amd64 gcr.io/google.com/cloudsdktool/google-cloud-cli:alpine AS gcloud_arm
5+
FROM gcloud_${TARGETARCH} AS gcloud
6+
7+
ENV PS_VERSION=9.1.x
8+
9+
RUN gcloud config set core/disable_usage_reporting true && \
10+
gcloud config set component_manager/disable_update_check true && \
11+
gcloud config set metrics/environment github_docker_image && \
12+
gcloud --version
13+
14+
RUN gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E "$PS_VERSION.+\.zip$" | tail -1` /tmp/prestashop.zip
15+
16+
FROM prestashop/base:8.3-apache
17+
LABEL maintainer="PrestaShop Core Team <[email protected]>"
18+
19+
ENV PS_VERSION=9.1.x
20+
COPY --from=gcloud /tmp/prestashop.zip /tmp/prestashop.zip
21+
22+
# Extract PrestaShop files
23+
RUN mkdir -p /tmp/data-ps && \
24+
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/ && \
25+
bash /tmp/ps-extractor.sh /tmp/data-ps && \
26+
rm /tmp/prestashop.zip

images/9.1.x/8.3-fpm/Dockerfile

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
FROM --platform=linux/amd64 gcr.io/google.com/cloudsdktool/google-cloud-cli:alpine AS gcloud_amd64
2+
FROM --platform=linux/arm64 gcr.io/google.com/cloudsdktool/google-cloud-cli:alpine AS gcloud_arm64
3+
# Google does not provide images for armv7, we use another platform for this case
4+
FROM --platform=linux/amd64 gcr.io/google.com/cloudsdktool/google-cloud-cli:alpine AS gcloud_arm
5+
FROM gcloud_${TARGETARCH} AS gcloud
6+
7+
ENV PS_VERSION=9.1.x
8+
9+
RUN gcloud config set core/disable_usage_reporting true && \
10+
gcloud config set component_manager/disable_update_check true && \
11+
gcloud config set metrics/environment github_docker_image && \
12+
gcloud --version
13+
14+
RUN gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E "$PS_VERSION.+\.zip$" | tail -1` /tmp/prestashop.zip
15+
16+
FROM prestashop/base:8.3-fpm
17+
LABEL maintainer="PrestaShop Core Team <[email protected]>"
18+
19+
ENV PS_VERSION=9.1.x
20+
COPY --from=gcloud /tmp/prestashop.zip /tmp/prestashop.zip
21+
22+
# Extract PrestaShop files
23+
RUN mkdir -p /tmp/data-ps && \
24+
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/ && \
25+
bash /tmp/ps-extractor.sh /tmp/data-ps && \
26+
rm /tmp/prestashop.zip

images/9.1.x/8.4-apache/Dockerfile

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
FROM --platform=linux/amd64 gcr.io/google.com/cloudsdktool/google-cloud-cli:alpine AS gcloud_amd64
2+
FROM --platform=linux/arm64 gcr.io/google.com/cloudsdktool/google-cloud-cli:alpine AS gcloud_arm64
3+
# Google does not provide images for armv7, we use another platform for this case
4+
FROM --platform=linux/amd64 gcr.io/google.com/cloudsdktool/google-cloud-cli:alpine AS gcloud_arm
5+
FROM gcloud_${TARGETARCH} AS gcloud
6+
7+
ENV PS_VERSION=9.1.x
8+
9+
RUN gcloud config set core/disable_usage_reporting true && \
10+
gcloud config set component_manager/disable_update_check true && \
11+
gcloud config set metrics/environment github_docker_image && \
12+
gcloud --version
13+
14+
RUN gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E "$PS_VERSION.+\.zip$" | tail -1` /tmp/prestashop.zip
15+
16+
FROM prestashop/base:8.4-apache
17+
LABEL maintainer="PrestaShop Core Team <[email protected]>"
18+
19+
ENV PS_VERSION=9.1.x
20+
COPY --from=gcloud /tmp/prestashop.zip /tmp/prestashop.zip
21+
22+
# Extract PrestaShop files
23+
RUN mkdir -p /tmp/data-ps && \
24+
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/ && \
25+
bash /tmp/ps-extractor.sh /tmp/data-ps && \
26+
rm /tmp/prestashop.zip

images/9.1.x/8.4-fpm/Dockerfile

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
FROM --platform=linux/amd64 gcr.io/google.com/cloudsdktool/google-cloud-cli:alpine AS gcloud_amd64
2+
FROM --platform=linux/arm64 gcr.io/google.com/cloudsdktool/google-cloud-cli:alpine AS gcloud_arm64
3+
# Google does not provide images for armv7, we use another platform for this case
4+
FROM --platform=linux/amd64 gcr.io/google.com/cloudsdktool/google-cloud-cli:alpine AS gcloud_arm
5+
FROM gcloud_${TARGETARCH} AS gcloud
6+
7+
ENV PS_VERSION=9.1.x
8+
9+
RUN gcloud config set core/disable_usage_reporting true && \
10+
gcloud config set component_manager/disable_update_check true && \
11+
gcloud config set metrics/environment github_docker_image && \
12+
gcloud --version
13+
14+
RUN gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E "$PS_VERSION.+\.zip$" | tail -1` /tmp/prestashop.zip
15+
16+
FROM prestashop/base:8.4-fpm
17+
LABEL maintainer="PrestaShop Core Team <[email protected]>"
18+
19+
ENV PS_VERSION=9.1.x
20+
COPY --from=gcloud /tmp/prestashop.zip /tmp/prestashop.zip
21+
22+
# Extract PrestaShop files
23+
RUN mkdir -p /tmp/data-ps && \
24+
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/ && \
25+
bash /tmp/ps-extractor.sh /tmp/data-ps && \
26+
rm /tmp/prestashop.zip

images/9.1.x/8.5-apache/Dockerfile

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
FROM --platform=linux/amd64 gcr.io/google.com/cloudsdktool/google-cloud-cli:alpine AS gcloud_amd64
2+
FROM --platform=linux/arm64 gcr.io/google.com/cloudsdktool/google-cloud-cli:alpine AS gcloud_arm64
3+
# Google does not provide images for armv7, we use another platform for this case
4+
FROM --platform=linux/amd64 gcr.io/google.com/cloudsdktool/google-cloud-cli:alpine AS gcloud_arm
5+
FROM gcloud_${TARGETARCH} AS gcloud
6+
7+
ENV PS_VERSION=9.1.x
8+
9+
RUN gcloud config set core/disable_usage_reporting true && \
10+
gcloud config set component_manager/disable_update_check true && \
11+
gcloud config set metrics/environment github_docker_image && \
12+
gcloud --version
13+
14+
RUN gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E "$PS_VERSION.+\.zip$" | tail -1` /tmp/prestashop.zip
15+
16+
FROM prestashop/base:8.5-apache
17+
LABEL maintainer="PrestaShop Core Team <[email protected]>"
18+
19+
ENV PS_VERSION=9.1.x
20+
COPY --from=gcloud /tmp/prestashop.zip /tmp/prestashop.zip
21+
22+
# Extract PrestaShop files
23+
RUN mkdir -p /tmp/data-ps && \
24+
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/ && \
25+
bash /tmp/ps-extractor.sh /tmp/data-ps && \
26+
rm /tmp/prestashop.zip

images/9.1.x/8.5-fpm/Dockerfile

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
FROM --platform=linux/amd64 gcr.io/google.com/cloudsdktool/google-cloud-cli:alpine AS gcloud_amd64
2+
FROM --platform=linux/arm64 gcr.io/google.com/cloudsdktool/google-cloud-cli:alpine AS gcloud_arm64
3+
# Google does not provide images for armv7, we use another platform for this case
4+
FROM --platform=linux/amd64 gcr.io/google.com/cloudsdktool/google-cloud-cli:alpine AS gcloud_arm
5+
FROM gcloud_${TARGETARCH} AS gcloud
6+
7+
ENV PS_VERSION=9.1.x
8+
9+
RUN gcloud config set core/disable_usage_reporting true && \
10+
gcloud config set component_manager/disable_update_check true && \
11+
gcloud config set metrics/environment github_docker_image && \
12+
gcloud --version
13+
14+
RUN gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E "$PS_VERSION.+\.zip$" | tail -1` /tmp/prestashop.zip
15+
16+
FROM prestashop/base:8.5-fpm
17+
LABEL maintainer="PrestaShop Core Team <[email protected]>"
18+
19+
ENV PS_VERSION=9.1.x
20+
COPY --from=gcloud /tmp/prestashop.zip /tmp/prestashop.zip
21+
22+
# Extract PrestaShop files
23+
RUN mkdir -p /tmp/data-ps && \
24+
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/ && \
25+
bash /tmp/ps-extractor.sh /tmp/data-ps && \
26+
rm /tmp/prestashop.zip

0 commit comments

Comments
 (0)