PrestaShop / PrestaShop/docker

:8.2.2-fpm tag installs prestashop v9

Open
#470 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dockerfile
Stars
281
Forks
190
PR merge metrics
No merged PRs in 30d

Description

Prerequisites
Describe the bug and add attachments

Something went really wrong with the image update you did yesterday.

When we start the prestashop/prestashop:8.2.2-fpm image (clean CI env), we're greeted with a version 9 backoffice (top left says still version 8.2.2).

Sure there is other better ways to verify this, but just looking at the number of modules in/var/www/html/modules from the image before and after the update:

# Pull using sha hash from the older image
~ $ docker run --rm -it prestashop/prestashop:8.2.2-fpm@sha256:15dcc00c589c727ed549441994a3ad4c9cac7625865af5e9bafe4f3677b4ac8c ls -la modules | wc -l
      71
# Pull using the current version of the tag
~ $ docker run --rm -it prestashop/prestashop:8.2.2-fpm ls -la modules | wc -l
      84

This is an easy way to verify locally that the image has changed in a big way.

This happens with :8.2.4-fpm too.

Steps to reproduce
  1. Run:
docker run --rm -it prestashop/prestashop:8.2.2-fpm@sha256:15dcc00c589c727ed549441994a3ad4c9cac7625865af5e9bafe4f3677b4ac8c ls -la modules | wc -l
  1. Run:
docker run --rm -it prestashop/prestashop:8.2.2-fpm ls -la modules | wc -l
Expected behavior

Module count would be the same before and after the update. Also for the image to not update v9 when I'm asking for v8.

Actual Result

Source code for Prestashop v9 is installed.

PrestaShop version where the bug happens

8.2.2

Module version where the bug happens

8.2.2

PHP version(s) where the bug happened

8.1

Your company or customer's name goes here (if applicable).

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the two Docker commands for the 8.2.2-fpm tag and comparing the image digest and installed module contents, including the pinned sha256 image. Trace how the 8.2.2-fpm and 8.2.4-fpm tags are built or published; done means those version-8 tags no longer contain PrestaShop v9 source and their module contents remain consistent.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, php
Domain
devops, release
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.