Skip to content
Snippets Groups Projects
Select Git revision
  • 49b2d05bee661e11658e2ac78fcb8b6e3478cd69
  • master default
2 results

entrypoint

Blame
    • nimrod's avatar
      49b2d05b
      Address pre-commit issues. · 49b2d05b
      nimrod authored
      - Bandit complains on using urlopen, ignore since I'm using a hard-coded
      URL.
      - Pylint complains on the module name, rename.
      - Remove the docker-compose hook, no docker-compose.yml.
      49b2d05b
      History
      Address pre-commit issues.
      nimrod authored
      - Bandit complains on using urlopen, ignore since I'm using a hard-coded
      URL.
      - Pylint complains on the module name, rename.
      - Remove the docker-compose hook, no docker-compose.yml.
    entrypoint 210 B
    #!/bin/sh
    set -eux
    template /var/awslogs/etc/awslogs.conf.j2 > /tmp/config
    if [ -z "${AWS_DEFAULT_REGION:-}" ]
    then
        AWS_DEFAULT_REGION="$(deduce_aws_region)"
        export AWS_DEFAULT_REGION
    fi
    eval exec "$@"