pull/49/head
Hunter Long 2018-08-17 16:06:40 -07:00
parent 5a3fd44a7a
commit da2316cbe5
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
FROM golang:1.10.3-alpine
LABEL maintainer "Hunter Long (https://github.com/hunterlong)"
MAINTAINER "Hunter Long (https://github.com/hunterlong)"
# Statup 'test' image for running a full test using the production environment
ENV VERSION=$(VERSION)

View File

@ -76,7 +76,7 @@ docker-run-dev: clean docker-dev
docker run -t -p 8080:8080 hunterlong/statup:dev
docker-test: docker-dev
docker run -t -p 8080:8080 --entrypoint="STATUP_DIR=`pwd` GO_ENV=test go test -v -p=1 $(BUILDVERSION) ./..." hunterlong/statup:dev
docker run -t -p 8080:8080 -e STATUP_DIR='/go/src/github.com/hunterlong/statup' --entrypoint "go test -v -p=1 $(BUILDVERSION) ./..." hunterlong/statup:dev
databases:
docker run --name statup_postgres -p 5432:5432 -e POSTGRES_PASSWORD=password123 -e POSTGRES_USER=root -e POSTGRES_DB=root -d postgres