Last active
June 27, 2020 22:08
-
-
Save braidn/5ba7eb65a43bccbe30a1607152382955 to your computer and use it in GitHub Desktop.
Crystal Devcontainer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ARG VARIANT="20.04" | |
FROM mcr.microsoft.com/vscode/devcontainers/base:0-ubuntu${VARIANT} | |
RUN apt-get update && \ | |
apt-get install -y build-essential curl libevent-dev libssl-dev libxml2-dev libyaml-dev libgmp-dev git && \ | |
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | |
RUN curl -sL "https://keybase.io/crystal/pgp_keys.asc" | apt-key add - && \ | |
echo "deb https://dist.crystal-lang.org/apt crystal main" | tee /etc/apt/sources.list.d/crystal.list && \ | |
apt-get update | |
RUN apt install -y crystal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment