mirror of
https://github.com/denoland/deno
synced 2024-08-26 19:39:52 +00:00
![Laurence Rowe](/assets/img/avatar_default.png)
* Installs `cmake` and `protoc` build dependencies in the docker container. * Replaced deprecated TOML extension with its suggested alternative. Note: At least 16GB is required to build Deno, so ensure you use 'New with options' and select at least the 4-core/16GB machine type when starting in GitHub Codespaces.
13 lines
333 B
Docker
13 lines
333 B
Docker
FROM mcr.microsoft.com/vscode/devcontainers/rust:1-bullseye
|
|
|
|
# Install cmake and protobuf-compiler
|
|
RUN apt-get update \
|
|
&& apt-get install -y cmake \
|
|
&& apt-get install -y protobuf-compiler \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Install Deno
|
|
ENV DENO_INSTALL=/usr/local
|
|
RUN curl -fsSL https://deno.land/x/install/install.sh | sh
|
|
|