Skip to content

Commit

Permalink
inital parsing of maintainers files
Browse files Browse the repository at this point in the history
Signed-off-by: Jessica Frazelle <[email protected]>
  • Loading branch information
jessfraz committed Dec 4, 2015
1 parent cf011bc commit 57e15b3
Show file tree
Hide file tree
Showing 9 changed files with 930 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
###Go###

# Compiled Object files, Static and Dynamic libs (Shared Objects)
*.o
*.a
*.so
*.swo
*.swp

# Folders
_obj
_test

# Architecture specific extensions/prefixes
*.[568vq]
[568vq].out

*.cgo1.go
*.cgo2.c
_cgo_defun.c
_cgo_gotypes.go
_cgo_export.*

_testmain.go

*.exe
*.test


###OSX###

.DS_Store
.AppleDouble
.LSOverride

# Icon must ends with two \r.
Icon


# Thumbnails
._*
Thumb.db

# Files that might appear on external disk
.Spotlight-V100
.Trashes

maintainers/maintainers
maintainers/MAINTAINERS

# go generated files
maintainers/rules.go
maintainers/roles.go
34 changes: 34 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
FROM alpine
MAINTAINER Jessica Frazelle <[email protected]>

ENV PATH /go/bin:/usr/local/go/bin:$PATH
ENV GOPATH /go

RUN apk update && apk add \
ca-certificates \
&& rm -rf /var/cache/apk/*

COPY . /go/src/github.com/docker/opensource

RUN buildDeps=' \
go \
git \
gcc \
libc-dev \
libgcc \
' \
set -x \
&& apk update \
&& apk add $buildDeps \
&& cd /go/src/github.com/docker/opensource \
&& go get -d -v github.com/docker/opensource/maintainers \
&& go generate ./maintainers \
&& go build -o /usr/bin/maintainers ./maintainers \
&& apk del $buildDeps \
&& rm -rf /var/cache/apk/* \
&& rm -rf /go \
&& echo "Build complete."

WORKDIR /root/maintainers

ENTRYPOINT [ "maintainers" ]
Loading

0 comments on commit 57e15b3

Please sign in to comment.