1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 03:48:44 +00:00
dockerfiles/crystal/Dockerfile

15 lines
506 B
Docker
Raw Normal View History

2017-11-16 15:59:47 +00:00
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"]