mirror of
https://github.com/cmhobbs/crystal-devcontainer-template.git
synced 2026-04-27 08:39:10 -04:00
18 lines
393 B
Docker
18 lines
393 B
Docker
FROM mcr.microsoft.com/devcontainers/base:ubuntu
|
|
|
|
# Install packages
|
|
# libpcre3-dev is needed if you wish to use ameba
|
|
RUN apt-get update && apt-get install -y \
|
|
git \
|
|
build-essential \
|
|
curl \
|
|
libpcre3-dev \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Install Crystal
|
|
RUN curl -fsSL https://crystal-lang.org/install.sh | bash
|
|
|
|
# Switch to vscode user
|
|
USER vscode
|
|
WORKDIR /workspaces
|