From 8528cb7e4352b74b8ef61e3bfb501a690d20ccae Mon Sep 17 00:00:00 2001 From: Faustino Aguilar Date: Thu, 16 Nov 2017 10:59:47 -0500 Subject: [PATCH] Add crystal --- crystal/Dockerfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 crystal/Dockerfile diff --git a/crystal/Dockerfile b/crystal/Dockerfile new file mode 100644 index 0000000..390bb84 --- /dev/null +++ b/crystal/Dockerfile @@ -0,0 +1,14 @@ +FROM ubuntu:xenial + +RUN \ + apt-get update && \ + apt-get install -y apt-transport-https && \ + apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 09617FD37CC06B54 && \ + echo "deb https://dist.crystal-lang.org/apt crystal main" > /etc/apt/sources.list.d/crystal.list && \ + apt-get update && \ + apt-get install -y crystal gcc pkg-config libssl-dev libxml2-dev libyaml-dev libgmp-dev git make && \ + apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* + +WORKDIR /opt/crystal + +CMD ["bash"]