This details how to update the docker images for DKAN. Granicus owns the containers but the same steps can be made to create your own images. We will also accept timely PRs with an updated container.
Step-by-step guideΒΆ
Steps to pull, change, and commit to the docker web image: Please substitute the following in the instructions with the proper details.
Container: web
Project: datastarterprivate
Team/Owner: nuams
Image: drupal-apache-php
Image Tag/Version to commit: 1.0-5.6 (increment this with every new commit)
- Create a Docker Hub account at https://hub.docker.com
- Ask for permissions to access and commit to the nuams team https://hub.docker.com/u/nuams/ . (Create a ticket and contact Pluto to get help with this)
- docker-image start default
- git clone nucivic/docker-drupal-apache-php
- cd docker-drupal-apache-php
- edit Dockerfile
- run docker build -t nucivic/drupal-apache-php:v<x>.
- git clone nucivic/dkan_starter
- cd dkan_starter
- edit dkan/.ahoy/docker-compose.yml with new image location
- ahoy docker up
- ahoy docker exec web bash
- Verify things look right (iterate if not)
- return to docker-drupal-apache-php commit your work and create a PR.
- Once PR gets reviewed and merged go to docker hub and create a new tag
- check your new image tag here: https://hub.docker.com/r/nuams/drupal-apache-php/tags/