Skip to content

Latest commit

 

History

History
58 lines (51 loc) · 2.35 KB

MAINTAINER.md

File metadata and controls

58 lines (51 loc) · 2.35 KB

Internal Software

Pinning Ubuntu Dev Dependencies

Run an auto-removing container of the base image:

docker run --rm -t -i ubuntu:20.04 /bin/bash

Lookup available versions in the container:

$ apt-get update
$ apt list -a automake
Listing... Done
automake/focal 1:1.16.1-4ubuntu6 all

Process Management

PM2 is used to manage Cardano Rosetta processes within the container.

Libsodium fork

IOHK maintains a fork of libsodium, which is built from source in the Dockerfile. To determine IOHK_LIBSODIUM_GIT_REV:

  1. Locate the git rev of iohk-nix in the cardano-node repo for the targeted version.
  2. Go to that rev and review /overlays/crypto/libsodium.nix

For example, cardano-node@1.19.0 has iohk-nix@b22d8da9dd38c971ad40d9ad2d1a60cce53995fb pinned, so the version of libsodium is known to be 66f017f16633f2060db25e17c170c2afa0f2a8a1

Continuous deployment to Docker Hub

Docker builds are pushed to Docker Hub in both the post-integration workflow, and post-release workflow. The former maintains the build cache source and can be useful during testing, and the latter delivers versioned builds that also takes the latest tag.

Cardano Configurations

/config is a squashed git subtree from the master branch of input-output-hk/cardano-configurations.

Setup remote

git remote add -f cardano-configurations https://github.com/input-output-hk/cardano-configurations.git

Update to latest

git subtree pull --prefix config cardano-configurations master --squash