diff --git a/micro/Dockerfile b/micro/Dockerfile new file mode 100644 index 0000000..7f3e7cf --- /dev/null +++ b/micro/Dockerfile @@ -0,0 +1,15 @@ +FROM golang:1.7.0-alpine +MAINTAINER Christian Koep + +RUN apk update && apk add --no-cache \ + git \ + make \ + && rm -rf /var/lib/apt/lists/* \ + && git clone --depth 1 -b master https://github.com/zyedidia/micro /usr/src/micro \ + && cd /usr/src/micro \ + && make install \ + && apk del \ + git \ + make + +ENTRYPOINT [ "/go/bin/micro" ]