Merge commit '22287e6a56c5a8824da94f2f6b9a464fa3da4192'

pull/2/head
Kevan Ahlquist 2015-02-18 00:55:40 -06:00
commit 44ba4e8bb8
4 changed files with 10 additions and 9 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@ logs/*
node_modules
.idea
dist
dockerui

View File

@ -1,8 +1,7 @@
FROM crosbymichael/golang
FROM scratch
COPY dockerui /
COPY dist /
COPY dockerui.go /app/
COPY dist/ /app/
WORKDIR /app/
RUN go build dockerui.go
EXPOSE 9000
ENTRYPOINT ["./dockerui"]
ENTRYPOINT ["/dockerui"]

View File

@ -7,14 +7,15 @@ PORT ?= 9000
install:
npm install -g grunt-cli
npm install
build:
grunt build
docker build --rm -t dockerui .
build-release:
grunt release
docker build --rm -t dockerui .
grunt build
docker run --rm -v $(pwd):/src centurylink/golang-builder
test:
grunt

View File

@ -1,4 +1,4 @@
package main
package main // import "github.com/crosbymichael/dockerui"
import (
"flag"