Initial Commit to Add RestAPI Server to IEC
[iec.git] / src / foundation / api / docker / Dockerfile.base
diff --git a/src/foundation/api/docker/Dockerfile.base b/src/foundation/api/docker/Dockerfile.base
new file mode 100644 (file)
index 0000000..84ed778
--- /dev/null
@@ -0,0 +1,10 @@
+FROM golang:1.12.7-alpine3.9
+RUN apk add --update git make gcc linux-headers libc-dev
+
+RUN go get github.com/revel/revel && go get github.com/revel/cmd/revel && \
+    go get github.com/revel/modules && \
+    go get github.com/valyala/fasthttp && go get golang.org/x/crypto/bcrypt && \
+    go get gopkg.in/gorp.v2
+
+RUN apk del --purge git make linux-headers
+