first commit

This commit is contained in:
Victor Vrantchan
2016-03-17 20:17:59 -04:00
commit 2f232c194a
27 changed files with 1816 additions and 0 deletions

20
Dockerfile.dev Normal file
View File

@@ -0,0 +1,20 @@
FROM golang:alpine
ENV GO15VENDOREXPERIMENT=1
RUN apk --no-cache add curl git && \
curl -L https://github.com/Masterminds/glide/releases/download/0.9.1/glide-0.9.1-linux-amd64.tar.gz -o glide.tar.gz && \
tar xzf glide.tar.gz -C /tmp && \
mv /tmp/linux-amd64/glide /usr/bin/ && \
rm -f glide.tar.gz && \
rm -rf /tmp/linux-amd64 && \
apk del curl
RUN mkdir -p /go/src/github.com/micromdm/micromdm/
WORKDIR /go/src/github.com/micromdm/micromdm/
COPY . /go/src/github.com/micromdm/micromdm/
RUN glide install
RUN go build && mv micromdm /
CMD ["/micromdm"]