Skip to content

Basic linux tools for deploy_hook #1014

@ThomDietrich

Description

@ThomDietrich

Hey there,
I need to use the deploy_hook functionality to copy generated certificates to a place and name which another application expects. To that end I've defined something similar to this:

certificates:
  - domains:
       - ui.kntinternet.de
     deploy_hook: cp /etc/letsencrypt/live/mydomain.de/privkey.pem /etc/letsencrypt/privkey.pem

Upon execution I receive the error:

  dnsrobocert-1  | Hook 'deploy-hook' reported error code 1
  dnsrobocert-1  | Hook 'deploy-hook' ran with error output:
  dnsrobocert-1  |  /bin/sh: 1:  cp: not found

Could you please provide basic commands like cp with the container? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions