/solarview-base

Support to build Docker images for SolarView

Primary LanguageDockerfileGNU General Public License v3.0GPL-3.0

SolarView Base

Description

This project contains files to support building Docker images for SolarView and its proxy applications.

Usage

  1. Create a GitLab CI configuration for the SolarView application. Suppose we want to build a Docker image for a SolarView proxy foo-fb:

    .gitlab-ci.yml
    include:
      remote: 'https://github.com/git-developer/solarview-base/raw/v1.7.0/.gitlab-ci.yml'
    
    variables:
      DOCKERFILE_URL: 'https://github.com/git-developer/solarview-base/raw/v1.7.0/Dockerfile'
      BUILD_ARGS: 'APP_NAME=foo-fb'
      IMAGE_TITLE: 'SolarView foo-Proxy'
      UPDATE_CHECK_URLS: 'http://www.solarview.info/downloads/foo-fb.zip'
  2. Build the project with GitLab CI.

  3. Optional: to enable the update-check and build automatically on SolarView updates, create a GitLab pipeline schedule with variable PIPELINE_MODE set to update-check.

The build will create Docker images for the platforms linux/amd64, linux/i386, linux/arm64, linux/arm/v7 and linux/arm/v6, add labels, tag them with version and date and publish them to the Docker registry.

References