Sign inSign up

jupegarnica/noop

By jupegarnica

Updated over 3 years ago

Do nothing image. exit with code $EXIT_CODE or 0

Image
0

10K+

jupegarnica/noop repository overview

Noop

Do nothing image.

It is used to disable services overriding a docker compose file.

Publish to docker hub: jupegarnica/noop

Based on busybox

Usage

# compose.yml
services:
  web:
    image: node
    # ...
# compose.prod.yml
services:
  web:
    image: jupegarnica/noop
docker-compose -f compose.yml -f compose.prod.yml up

Features

  • Exit with code 0
  • Do not log
  • Light image: 760.86 KB
  • If LOG environment it will log it to stdout
  • If EXIT_CODE environment it will exit with it.

Tag summary

Content type

Image

Digest

sha256:95d28a3ae

Size

760.9 kB

Last updated

over 3 years ago

docker pull jupegarnica/noop