Compare commits

...

2 Commits

Author SHA1 Message Date
Icedream b00f9a5605
Add ignore files. 2017-09-04 11:39:24 +02:00
Icedream 024a2c75e9
Add Dockerfile. 2017-09-04 11:39:17 +02:00
4 changed files with 86 additions and 0 deletions

27
.dockerignore Normal file
View File

@ -0,0 +1,27 @@
# Compiled Object files, Static and Dynamic libs (Shared Objects)
*.o
*.a
*.so
# Folders
_obj
_test
# Architecture specific extensions/prefixes
*.[568vq]
[568vq].out
*.cgo1.go
*.cgo2.c
_cgo_defun.c
_cgo_gotypes.go
_cgo_export.*
_testmain.go
# Binaries
*.exe
/pixelqr
# Test files
*.test

11
Dockerfile Normal file
View File

@ -0,0 +1,11 @@
FROM golang:1.9-alpine
COPY . ${GOPATH}/src/git.icedream.tech/icedream/pixelqr
RUN cd "${GOPATH}/src/git.icedream.tech/icedream/pixelqr" \
&& go get -v -d ./... \
&& go build \
&& mv testssh /usr/local/bin \
&& cd / \
&& rm -r ${GOPATH}
CMD ["testssh"]

24
testssh/.dockerignore Normal file
View File

@ -0,0 +1,24 @@
# Compiled Object files, Static and Dynamic libs (Shared Objects)
*.o
*.a
*.so
# Folders
_obj
_test
# Architecture specific extensions/prefixes
*.[568vq]
[568vq].out
*.cgo1.go
*.cgo2.c
_cgo_defun.c
_cgo_gotypes.go
_cgo_export.*
_testmain.go
testssh
*.exe
*.test

24
testssh/.gitignore vendored Normal file
View File

@ -0,0 +1,24 @@
# Compiled Object files, Static and Dynamic libs (Shared Objects)
*.o
*.a
*.so
# Folders
_obj
_test
# Architecture specific extensions/prefixes
*.[568vq]
[568vq].out
*.cgo1.go
*.cgo2.c
_cgo_defun.c
_cgo_gotypes.go
_cgo_export.*
_testmain.go
testssh
*.exe
*.test