aboutsummaryrefslogtreecommitdiff
path: root/android/tools/host/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'android/tools/host/Dockerfile')
-rw-r--r--android/tools/host/Dockerfile15
1 files changed, 15 insertions, 0 deletions
diff --git a/android/tools/host/Dockerfile b/android/tools/host/Dockerfile
new file mode 100644
index 0000000..72e0d79
--- /dev/null
+++ b/android/tools/host/Dockerfile
@@ -0,0 +1,15 @@
+FROM node:12
+ARG userid
+ARG groupid
+ARG username
+ARG tzbbroot
+
+RUN apt-get update && apt-get install -y gdal-bin zip
+
+# Set up the user so that files are owned by the proper user
+RUN groupadd -g $groupid $username \
+ && useradd -m -u $userid -g $groupid $username
+RUN mkdir -p $tzbbroot && chown $userid $tzbbroot
+ENV DOCKER=true
+USER $username
+