pixelqr/Dockerfile

12 lines
260 B
Docker
Raw Normal View History

2017-09-04 09:39:17 +00:00
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"]