Skip to content

Instantly share code, notes, and snippets.

@fukaoi
Created January 17, 2021 14:21
Show Gist options
  • Save fukaoi/ba5bb6b6f7741493922b310c6b57fad1 to your computer and use it in GitHub Desktop.
Save fukaoi/ba5bb6b6f7741493922b310c6b57fad1 to your computer and use it in GitHub Desktop.
Docker for crystal-nodejs
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