Last active
October 23, 2016 22:24
-
-
Save anicholson/29238c8239e5f621be8037a9033cd06d to your computer and use it in GitHub Desktop.
Crystal Ubuntu package does not install all required dependencies
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
FROM ubuntu | |
MAINTAINER Andy Nicholson <[email protected]> | |
RUN apt-get update && \ | |
apt-get install -y apt-transport-https && \ | |
apt-key adv --keyserver keys.gnupg.net --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 | |
RUN echo 'puts "WORKING!"' > /tmp/test.cr | |
RUN crystal build -o test /tmp/test.cr | |
ENTRYPOINT test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment