Created
January 17, 2021 14:21
-
-
Save fukaoi/ba5bb6b6f7741493922b310c6b57fad1 to your computer and use it in GitHub Desktop.
Docker for crystal-nodejs
This file contains hidden or 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:20.04 as builder | |
ENV DEBIAN_FRONTEND=noninteractive | |
RUN apt-get update | |
RUN apt-get upgrade -y | |
RUN apt-get install curl gnupg make g++ -y | |
RUN curl -sL "https://keybase.io/crystal/pgp_keys.asc" | apt-key add - | |
RUN echo "deb https://dist.crystal-lang.org/apt crystal main" | tee /etc/apt/sources.list.d/crystal.list | |
RUN apt-get update | |
RUN apt-get install crystal -y | |
COPY shard.* / | |
WORKDIR / | |
RUN shards install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment