Skip to content
  • chriscunningham-trivago's avatar
    fix: Fix tfswitch when using Dockerfile · 7fcda64e
    chriscunningham-trivago authored and Matt's avatar Matt committed
    tfswitch attempts to install the `terraform` binary to `/app/bin/` but
    this fails because the directory doesn't exist. Add this directory to
    the Dockerfile.
    
    In addition, bubble up the error which is passed to the
    `TerraformVersionSwitchError` exception, which helped catch this.
    
    Issue #356
    7fcda64e