-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom prestashop release #96
Custom prestashop release #96
Conversation
Alexandre-Lematre
commented
Apr 18, 2024
•
edited
Loading
edited
Questions | Answers |
---|---|
Description? | Adds the ability to build a release based on a custom prestashop zip containing a list of modules |
Type? | new feature |
BC breaks? | no |
Deprecations? | no |
Sponsor company | PrestaShop |
How to test? | Try to build a release with the PrestaShop Classic Edition zip |
build.sh
Outdated
declare PLATFORM; # -- alias for $TARGET_PLATFORM | ||
declare TARGET_IMAGE; # -- docker image name, defaults to "prestashop/prestashop-flashlight" | ||
declare PUSH; # -- set it to "true" if you want to push the resulting image | ||
declare ZIP_SOURCE; # -- the zip to unpack in flashlight |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do actually have an open PR on this one! Can we merge ideas?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. Can you tell me what PR is this ? I can't find it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was thinking about that one : #82
46f0830
to
9e081f4
Compare
build.sh
Outdated
declare TARGET_IMAGE; # -- docker image name, defaults to "prestashop/prestashop-flashlight" | ||
declare PUSH; # -- set it to "true" if you want to push the resulting image | ||
declare ZIP_SOURCE; # -- the zip to unpack in flashlight | ||
declare PRE_INSTALLED_MODULES; # -- install modules during zip installation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this should come along with the build time. It's rather a variable to be declared on top of assets/run.sh
docker/alpine.Dockerfile
Outdated
@@ -47,6 +48,8 @@ ARG PHP_VERSION | |||
ARG GIT_SHA | |||
ARG PS_FOLDER=/var/www/html | |||
ARG ZIP_SOURCE | |||
ARG PRE_INSTALLED_MODULES | |||
ENV PRE_INSTALLED_MODULES=$PRE_INSTALLED_MODULES |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it really something you wanna provide at build time?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These modules have to be installed during PrestaShop installation, so, at build time ; the aim being to provide a custom release, shiped with a bunch of modules (like classic and hosted edition)
9e081f4
to
feb5333
Compare
feb5333
to
62b6e9a
Compare
62b6e9a
to
d087d1a
Compare
d087d1a
to
96f07fc
Compare
96f07fc
to
4332f39
Compare
4332f39
to
fff17fe
Compare
fff17fe
to
8049560
Compare