Skip to content

hyperledgerkochi/aries-cloudagent-container

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License

Docker images for Hyperledger Aries Cloud Agent

The image repository is located on Docker Hub.

The images include language-specific implementations of Aries Cloudagent such as:

Repository structure

The repository is structured so that there is a folder for each implementation/language , and this contains the dockerfiles and resources required to build and test the output image.

Inside make_image.py a data structure called VERSIONS describes the versions and base image for each implementation/language.

Adding a new implementation/language

To add a new implementation/language:

  1. create a new folder named after the new implementation in the root of the repository. For reference, the python folder can be copied and its contents updated to reflect the new implementation/language.
  2. Update the VERSIONS object in make_image.py to add the new implementation/language details.

Image versioning

All the aries-cloudagent images will reside on the Aries Cloud Agent Docker Hub, and will differentiate between each other by using specific tags.

By default, the tag for a new image will be composed by $base_image_tag, followed by _$agent_version. Because of this naming convention, please make sure you use a tagged version for each base image rather than using latest or a more generic tag that is not as descriptive.

Image tag Implementation Base image aries-cloudagent
py36-1.11-0_0.3.0 python von-image:py36-1.11-0 0.3.0
py36-1.11-0_0.3.1 python von-image:py36-1.11-0 0.3.1
py36-1.11-1_0.3.2 python von-image:py36-1.11-1 0.3.2
py36-1.11-1_0.3.3 python von-image:py36-1.11-1 0.3.3
py36-1.11-1_0.3.4 python von-image:py36-1.11-1 0.3.4
py36-1.11-1_0.3.5 python von-image:py36-1.11-1 0.3.5
py36-1.11-1_0.4.0 python von-image:py36-1.11-1 0.4.0
py36-1.11-1_0.4.1 python von-image:py36-1.11-1 0.4.1
py36-1.14-0_0.4.2 python von-image:py36-1.14-0 0.4.2
py36-1.14-1_0.4.3 python von-image:py36-1.14-1 0.4.3
py36-1.14-1_0.4.4 python von-image:py36-1.14-1 0.4.4
py36-1.14-1_0.4.5 python von-image:py36-1.14-1 0.4.5
py36-1.14-1_0.5.0 python von-image:py36-1.14-1 0.5.0
py36-1.14-1_0.5.1 python von-image:py36-1.14-1 0.5.1

Building the image locally

Pre-requisites

To build the image locally you will need to install:

Running the build

To build the image, open a terminal session at the root of this Git repo and execute: python make_image.py python 0.3.0. This will build the python version of the image, and include aries-cloudagent version 0.3.0.

Many parameters can be specified through command-line, for more information please type python make_image.py to display the command's usage page.

Credits

The build scripts in this repository have taken inspiration from the ones used to build von-image

About

Runnable Docker image for the Hyperledger Aries Cloudagent

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 83.9%
  • Dockerfile 8.1%
  • JavaScript 6.6%
  • Shell 1.4%