Skip to content

SmartWeb Mini

Repo: https://gitlab.group.team.blue/hostedshop/proj/smartweb-mini

The main idea with this project is to provide a full running HostedShop system with minimal effort. It's used by frontenders primarily.

Use cases:

Make a new PHP version image

You create the new version in: https://gitlab.group.team.blue/hostedshop/proj/php it is done by copying the whole folder of the previous version and altering the php version in all Dockerfiles.

# https://gitlab.group.team.blue/hostedshop/proj/php/-/tree/master/versions/7.4


# Change the PHP version
FROM php:7.4-apache -> FROM php:8.0-apache


# Try build it if successful continue
docker build --pull -t smartweb/php:8.0-apache-dev 8.0/apache


# Added the new version to gitlab-ci.yml and docker-compose.yml

After the new php image is created we need to add a new version to: https://gitlab.group.team.blue/hostedshop/proj/smartweb-apache-php. This is done by the same method, so copy previous version folder and alter the base image version

FROM smartweb/php:7.4-apache-dev -> FROM smartweb/php:8.0-apache-dev


# Try build it if successful continue
docker build --pull -t smartweb/smartweb-apache-php:7.4-apache-dev 7.4/apache


# Added the new version to gitlab-ci.yml and docker-compose.yml