docker dev image

pull/49/head
Hunter Long 2018-08-17 18:13:31 -07:00
parent 16c6b601a7
commit 1a04f75aa7
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,7 @@
FROM golang:1.10.3-alpine
MAINTAINER "Hunter Long (https://github.com/hunterlong)"
# Statup 'test' image for running a full test using the production environment
RUN apk add --no-cache libstdc++ gcc g++ make git ca-certificates linux-headers wget curl
RUN curl -L -s https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64 -o $GOPATH/bin/dep && \
@ -13,7 +14,6 @@ ENV IS_DOCKER=true
WORKDIR $GOPATH/src/github.com/hunterlong/statup
COPY . .
RUN ls
RUN make dev-deps && make install
EXPOSE 8080

View File

@ -70,7 +70,7 @@ docker-run: docker
docker run -t -p 8080:8080 hunterlong/statup:latest
docker-dev:
docker build -t hunterlong/statup:dev -f ./.dev/Dockerfile .
docker build -t hunterlong/statup:dev -f Dockerfile-dev .
docker-run-dev: clean docker-dev
docker run -t -p 8080:8080 hunterlong/statup:dev