aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/Dockerfile.32
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2017-03-06 16:00:21 +0100
committerBjörn Gustavsson <[email protected]>2017-03-08 07:33:20 +0100
commita434fa4622023560e2877a1de698fd4fd15e6b31 (patch)
treefef9fa33e3b797c94762c58dce824777414c0964 /scripts/Dockerfile.32
parent3a40993d69a9079f7c890bc365a5f74c96287815 (diff)
downloadotp-a434fa4622023560e2877a1de698fd4fd15e6b31.tar.gz
otp-a434fa4622023560e2877a1de698fd4fd15e6b31.tar.bz2
otp-a434fa4622023560e2877a1de698fd4fd15e6b31.zip
Add docker images for building 32/64 bit erlang
Diffstat (limited to 'scripts/Dockerfile.32')
-rw-r--r--scripts/Dockerfile.3213
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/Dockerfile.32 b/scripts/Dockerfile.32
new file mode 100644
index 0000000000..9622c48a17
--- /dev/null
+++ b/scripts/Dockerfile.32
@@ -0,0 +1,13 @@
+FROM erlang/ubuntu-build:32bit
+
+COPY ./otp.tar.gz /buildroot/
+
+WORKDIR /buildroot/
+
+RUN tar xzf otp.tar.gz
+
+WORKDIR /buildroot/otp/
+
+ENV MAKEFLAGS -j10
+
+CMD ./scripts/build-otp