IntersectMBO / cardano-transactions

Library utilities for constructing and signing Cardano transactions.
Apache License 2.0
25 stars 7 forks source link

Create docker image for cardano-tx #22

Closed hasufell closed 3 years ago

hasufell commented 3 years ago

Context

As an exchange developer I want to be able to install cardano-tx using a docker image so that I may easily run test transactions.

AC

User can run:

docker pull iohk/cardano-tx
docker run --rm iohk/cardano-tx --help

Implementation plan

  1. create a Dockerfile in this repo, that
    • pulls the binary from the release page
    • puts that binary into a busybox container
  2. make sure the image is built and pushed on every release

Rationale

  1. facilitates existing infrastructure and makes sure we run the fully tested binary and don't duplicate logic
  2. ease of building and pulling the image

Alternative approaches

  1. build the entire project within the Dockerfile
  2. use nix to build a docker image (probably from within the github workflow?)

Open questions

Where to build the image? Dockerhub? From within github workflow?