Created
September 12, 2018 17:25
-
-
Save Quetzacoalt91/7902dd0c63e3b52857f08296693dab1f to your computer and use it in GitHub Desktop.
Docker for generating a zip from the latest commit on develop branch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Nightly build generation of PrestaShop releases. | |
## Build with `docker build -t nightly-gen .` | |
## Then, run it with `docker run -ti --rm -v $PWD/builds:/var/www/html/tools/build/releases -e PS_VERSION=1.7.5.0 nightly-gen` | |
FROM prestashop/prestashop-git:7.2 | |
ENV PS_BRANCH develop | |
ENV PS_VERSION 1.7.X.X | |
RUN git fetch origin && git checkout origin/$PS_BRANCH | |
VOLUME /var/www/html/tools/build/releases | |
ENTRYPOINT php /var/www/html/tools/build/CreateRelease.php --version="$PS_VERSION" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment