aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile3
-rwxr-xr-xdocker-build.sh4
2 files changed, 7 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..53ae1ac
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,3 @@
+FROM alpine:3.5
+RUN apk add --no-cache make autoconf automake zip
+CMD cd /src && ./autogen.sh && make clean && make mkxpi
diff --git a/docker-build.sh b/docker-build.sh
new file mode 100755
index 0000000..743cf77
--- /dev/null
+++ b/docker-build.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+docker build -t solarc-build .
+docker run -v $PWD:/src solarc-build