Add Dockerfile.

test/ssh
Icedream 2017-09-04 11:39:17 +02:00
parent cfda71a3aa
commit 024a2c75e9
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
1 changed files with 11 additions and 0 deletions

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"]