Skip to content
Snippets Groups Projects
Commit b4b51eb6 authored by Corné Lukken's avatar Corné Lukken
Browse files

Install docker in the base image

parent b7f511c7
No related branches found
No related tags found
1 merge request!2Backport sphinx documentation to binary wheel package
Pipeline #59503 passed with warnings
Pipeline: Python Binary Wheel Package

#59504

    FROM python:3.11 FROM python:3.11
    RUN python -m pip install --upgrade pip RUN python -m pip install --upgrade pip
    RUN pip install --upgrade cookiecutter tox twine RUN pip install --upgrade cookiecutter tox twine cibuildwheel==2.13.1 cookiecutter
    RUN curl -sSL https://get.docker.com/ | sh
    ...@@ -79,14 +79,14 @@ run_unit_tests_coverage: ...@@ -79,14 +79,14 @@ run_unit_tests_coverage:
    package_files: package_files:
    stage: package stage: package
    image: python:3.8 # image: python:3.8
    artifacts: artifacts:
    expire_in: 1w expire_in: 1w
    paths: paths:
    - dist/* - dist/*
    script: script:
    - curl -sSL https://get.docker.com/ | sh # - curl -sSL https://get.docker.com/ | sh
    - python -m pip install cibuildwheel==2.13.1 cookiecutter # - python -m pip install cibuildwheel==2.13.1 cookiecutter
    - cibuildwheel --platform linux --output-dir dist - cibuildwheel --platform linux --output-dir dist
    package_docs: package_docs:
    ......
    FROM python:3.11 FROM python:3.11
    RUN python -m pip install --upgrade pip RUN python -m pip install --upgrade pip
    RUN pip install --upgrade tox twine RUN pip install --upgrade tox twine cibuildwheel==2.13.1
    ...@@ -20,7 +20,7 @@ extensions = [ ...@@ -20,7 +20,7 @@ extensions = [
    # Assumes tox is used to call sphinx-build # Assumes tox is used to call sphinx-build
    project_root_directory = os.getcwd() project_root_directory = os.getcwd()
    apidoc_module_dir = "../../{{cookiecutter.project_slug}}" apidoc_module_dir = "../../src"
    apidoc_output_dir = "source_documentation" apidoc_output_dir = "source_documentation"
    apidoc_excluded_paths = [] apidoc_excluded_paths = []
    apidoc_separate_modules = True apidoc_separate_modules = True
    ......
    ...@@ -45,6 +45,8 @@ allowlist_externals = ...@@ -45,6 +45,8 @@ allowlist_externals =
    sh sh
    ; unset LC_ALL / LANGUAGE from testenv, would fail sphinx otherwise ; unset LC_ALL / LANGUAGE from testenv, would fail sphinx otherwise
    setenv = setenv =
    PYTHONWARNINGS=default::DeprecationWarning
    DYNAMIC_VERSION_SOURCE={toxinidir}
    deps = deps =
    -r{toxinidir}/requirements.txt -r{toxinidir}/requirements.txt
    -r{toxinidir}/docs/requirements.txt -r{toxinidir}/docs/requirements.txt
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment