Skip to content

Releases: ckan/ckan-docker-base

v20241211

11 Dec 11:54
2b3d885
Compare
Choose a tag to compare

What's Changed

  • Patch releases 2.11.1 and 2.10.6 by @amercader in #103
  • Move debugpy install to install_src, writable home for dev by @wardi in #101

Full Changelog: v20241203.1...v20241211

v20241203.1

03 Dec 14:07
fbda797
Compare
Choose a tag to compare

What's Changed

Full Changelog: v20241203...v20241203.1

v20241203

03 Dec 13:16
2704e6e
Compare
Choose a tag to compare

What's Changed

  • Add test case to ensure child images can be built by @amercader in #95
  • Add a "-p" option to all mkdir commands by @kowh-ai in #94
  • Remove extra (conflicted copy) Dockerfiles from the repo by @kowh-ai in #98
  • Chore: Update Readme and Changelog by @duttonw in #97
  • Fetch tags in git checkout to fix publish workflows by @amercader in #99

New Contributors

Full Changelog: v20241125...v20241203

v20241125

25 Nov 14:29
Compare
Choose a tag to compare

Important Changes

There are two important changes to be aware of that relate to the CKAN extensions test workflows using GitHub Actions.

  • As announced in previous releases the CKAN images are now built using the Debian-based official Python images. The Alpine-based 2.9 and 2.10 images are no longer supported and won't receive updates going forward. These images are the ones most commonly used in tests. In order to use the supported images, change the following section in your .github/workflows/test.yml file:

        runs-on: ubuntu-latest
        container:
          image: ckan/ckan-dev:2.10

    To one of the supported images, e.g.:

        runs-on: ubuntu-latest
        container:
          image: ckan/ckan-dev:2.10-py3.10

    If you are using the matrix property to support multiple CKAN versions, you can use this syntax:

        strategy:
          matrix:
            include:
              - ckan-version: "2.11"
                ckan-image: "ckan/ckan-dev:2.11-py3.10"
              - ckan-version: "2.10"
                ckan-image: "ckan/ckan-dev:2.10-py3.10"
              - ckan-version: "2.9"
                ckan-image: "ckan/ckan-dev:2.9-py3.9"
          fail-fast: false
    
        name: CKAN ${{ matrix.ckan-version }}
        runs-on: ubuntu-latest
        container:
          image: ${{ matrix.ckan-image }}
        services:
          solr:
            image: ckan/ckan-solr:${{ matrix.ckan-version }}-solr9
          postgres:
            image: ckan/ckan-postgres-dev:${{ matrix.ckan-version }}
  • To strengthen the images security and follow good practices, the latest version of the images runs with a dedicated user rather than root. This is not supported in GitHub Actions so in order to avoid failures, users will need to add the following option:

        container:
          image: ckan/ckan-dev:2.11
          options: --user root

This commit includes both changes to the workflow file.

Changes in file/directory ownership also means that there is now a separate command to install locally mounted extensions when using the Docker Compose development setup:

docker compose -f docker-compose.dev.yml run -u root ckan-dev ./install_src.sh

What's Changed

  • Dev mode: install src dir with separate script by @wardi in #84
  • Minimise all root-owned files/directories in the running CKAN container by @kowh-ai in #80
  • Simplify repo by @amercader in #85
  • Simplify repo: updates by @kowh-ai in #90
  • Build and test actions by @amercader in #89
  • Add actions to build and push images to Docker Hub by @amercader in #73
  • Create an additional Docker image tag with the latest git tag by @amercader in #92

Full Changelog: v20241111...v20241125

v20241111

11 Nov 12:27
Compare
Choose a tag to compare

What's Changed

  • Updates to CKAN 2.11 and master images (remove supervisor and tidy up) by @kowh-ai in #77
  • Consolidate use of CKAN_VERSION vs CKAN_TAG (7f88928)
  • Update versions for 2.10.5 and 2.11.0 release (8ea8056)
  • Remove gevent system packages (ffa9b2a)
  • Update and pin ckanext-envvars (dea7460)
  • Quote ENV vars in 2.9 Dockerfile (b0a27df)

Full Changelog: v20240701...v20241111

v20240701

02 Jul 09:24
Compare
Choose a tag to compare
  • Going forward, the CKAN Docker images will use Debian-based official Python images rather than Alpine-based. The base image used currently is python:3.10-slim-bookworm. CKAN 2.9 and 2.10 images are provided for both Alpine and Debian but starting from CKAN 2.11, only Debian-based images will be provided. Users are encouraged to migrate existing images to the the new Debian-based ones. See the table in the README file for detailed information on which tag to choose. (#61)
  • Add images for the upcoming CKAN 2.11 version (#69)
  • Listen to ipv6 addresses internally (#67)