Skip to content

Instantly share code, notes, and snippets.

@edgar
Last active April 9, 2016 16:50
Show Gist options
  • Save edgar/a67f83e6c3ec656986f3da9bb0b778e8 to your computer and use it in GitHub Desktop.
Save edgar/a67f83e6c3ec656986f3da9bb0b778e8 to your computer and use it in GitHub Desktop.
Original makefile for docker sinatra + elasticsearch
IMAGE_NAME := "foo"
docker-build:
@(docker build -t $(IMAGE_NAME) -f Dockerfile .)
test: docker-build
@(docker-compose -f dockercompose/test.yml up -d)
@(docker-compose -f dockercompose/test.yml run search bash -c "rspec")
@(docker-compose -f dockercompose/test.yml down)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment