forked from docker/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Jessica Frazelle <[email protected]>
- Loading branch information
Showing
9 changed files
with
930 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" ] |
Oops, something went wrong.