github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/.devcontainer/Dockerfile (about)

     1  FROM mcr.microsoft.com/vscode/devcontainers/go:1.17
     2  
     3  USER root
     4  
     5  # Rust
     6  RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
     7  RUN /root/.cargo/bin/rustup target add $(uname -m)-unknown-linux-musl
     8  
     9  # PHP
    10  RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
    11      && apt-get -y install --no-install-recommends php php-dev
    12  
    13  # Node
    14  RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
    15      && apt-get -y install --no-install-recommends nodejs npm
    16  RUN npm config set unsafe-perm true
    17  RUN npm install -g yarn
    18  
    19  # libunwind
    20  RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
    21      && apt-get -y install --no-install-recommends libunwind8-dev
    22  
    23  WORKDIR /workspaces/pyroscope
    24  
    25  USER vscode