Browse Source

Move Dockerfiles to lolgit://herby/pharo-docker.

Herbert Vojčík 6 years ago
parent
commit
30de38c128
2 changed files with 48 additions and 0 deletions
  1. 27 0
      61_32/Dockerfile
  2. 21 0
      61_64/Dockerfile

+ 27 - 0
61_32/Dockerfile

@@ -0,0 +1,27 @@
+FROM ubuntu:16.04
+MAINTAINER herby
+
+RUN dpkg --add-architecture i386
+RUN apt-get update -q
+RUN apt-get -qy --no-install-recommends install \
+        libx11-6:i386 \
+        libgl1-mesa-glx:i386 \
+        libfontconfig1:i386 \
+        libssl1.0.0:i386 \
+        libfreetype6:i386 \
+        libcurl3:i386 \
+        libsqlite3-0:i386 \
+        curl \
+        unzip
+
+RUN apt-get clean
+RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
+
+RUN mkdir -p /opt/pharo &&\
+        cd /opt/pharo &&\
+        curl http://get.pharo.org/61+vm | bash &&\
+        ln -s \
+            `/sbin/ldconfig -p | grep -v x86-64 | sed -e 's|[^/]*||' | grep sqlite3` \
+            `find . -type f -name SqueakSSL.so -print0 | xargs -0 dirname`/sqlite3.so
+
+RUN echo "Pharo 32bit installed"

+ 21 - 0
61_64/Dockerfile

@@ -0,0 +1,21 @@
+FROM ubuntu:16.04
+MAINTAINER herby
+
+RUN apt-get update -q
+RUN apt-get -qy --no-install-recommends install \
+        libfreetype6 \
+        libcurl3 \
+        curl \
+        unzip
+
+RUN apt-get clean
+RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
+
+RUN mkdir -p /opt/pharo &&\
+        cd /opt/pharo &&\
+        curl http://get.pharo.org/64/61+vm | bash &&\
+        ln -s \
+            `/sbin/ldconfig -p | sed -e 's|[^/]*||' | grep sqlite3` \
+            `find . -type f -name SqueakSSL.so -print0 | xargs -0 dirname`/sqlite3.so
+
+RUN echo "Pharo 64bit installed"