Skip to content

Instantly share code, notes, and snippets.

@antiagainst
Last active February 16, 2024 03:36
Show Gist options
  • Save antiagainst/2e01abcf07c2d06dad599674d8439e4f to your computer and use it in GitHub Desktop.
Save antiagainst/2e01abcf07c2d06dad599674d8439e4f to your computer and use it in GitHub Desktop.
FROM ubuntu:22.04
SHELL ["/bin/bash", "-e", "-u", "-o", "pipefail", "-c"]
# Disable apt-key parse waring
ARG APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1
# Basic development environment
RUN apt-get update && apt-get install -y \
curl wget \
git zsh tmux vim neovim \
build-essential cmake ninja-build \
clang lld ccache \
python3 python3-pip \
pkg-config fasd
# Tracy build dependencies
RUN apt-get install -y \
libcapstone-dev libtbb-dev libzstd-dev \
libglfw3-dev libfreetype6-dev libgtk-3-dev
# Development environment configuration files
RUN git clone https://github.com/wolfpld/tracy.git $HOME/tracy && \
cd $HOME/tracy && git checkout af73dba7 && \
cd capture/build/unix && make -j8 release && \
mkdir /tracy && cp capture-release /tracy/iree-tracy-capture && \
rm -rf $HOME/tracy
WORKDIR /tracy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment