aboutsummaryrefslogtreecommitdiff
path: root/docker/Dockerfile.tarantool.dev_env
diff options
context:
space:
mode:
Diffstat (limited to 'docker/Dockerfile.tarantool.dev_env')
-rw-r--r--docker/Dockerfile.tarantool.dev_env17
1 files changed, 17 insertions, 0 deletions
diff --git a/docker/Dockerfile.tarantool.dev_env b/docker/Dockerfile.tarantool.dev_env
new file mode 100644
index 000000000..4ce0fc9af
--- /dev/null
+++ b/docker/Dockerfile.tarantool.dev_env
@@ -0,0 +1,17 @@
+FROM tarantool/tarantool:3.3.1 AS builder
+
+# install dependencies
+RUN apt update && \
+ apt install -y git unzip cmake tt=2.7.0
+
+# init tt dir structure, create dir for app, create symlink
+RUN tt init && \
+ mkdir app && \
+ ln -sfn ${PWD}/app/ ${PWD}/instances.enabled/app
+
+# copy cluster configs
+COPY tarantool /opt/tarantool/app
+
+# build app
+RUN tt build app
+