0.2.3 • Published 3 years ago

docker-skaffold v0.2.3

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

docker-skaffold

Sets up and tears down docker-compose skaffolding around any command.

Useful for writing integration tests that involve setting up database or other containers.

Usage

# bring up and tear down docker environment from docker-compose.yml file in same directory
npx docker-skaffold -- echo hello

# or
npm install docker-skaffold
docker-skaffold -- echo hello

Features

docker-compose arguments passthrough:

docker-skaffold --project-name=test --file ./path/to/docker-compose.yml -- echo hello

automatically detect if docker-compose or docker compose should be used.

passes through exit codes from wrapped command

you can keep the docker containers around if you pass --keep:

docker-skaffold --keep -- echo hello
0.2.3

3 years ago

0.2.2

3 years ago

0.2.0

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago