File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ FROM ubuntu:24.04
2+
3+ ENV DEBIAN_FRONTEND=noninteractive
4+
5+ RUN apt-get update && \
6+ ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime && \
7+ apt-get install -y tzdata && \
8+ apt-get install -y \
9+ build-essential \
10+ cmake \
11+ gdb \
12+ git \
13+ gnupg \
14+ libcurl4-openssl-dev \
15+ libedit-dev \
16+ libicu-dev \
17+ libjpeg-dev \
18+ libncurses-dev \
19+ libpng-dev \
20+ lsb-release \
21+ ninja-build \
22+ pkg-config \
23+ python3-dev \
24+ software-properties-common \
25+ wget \
26+ zlib1g-dev && \
27+ wget https://apt.llvm.org/llvm.sh && \
28+ chmod +x llvm.sh && \
29+ ./llvm.sh 21 all && \
30+ apt-get install -y liblld-21-dev && \
31+ apt-get clean && \
32+ rm -rf llvm.sh /var/lib/apt/lists/* \
Original file line number Diff line number Diff line change 1+ // Default Ubuntu-based DevContainer Template.
2+ // For more customization options, see https://containers.dev/implementors/json_reference
3+ // Also note this file is "JSON with Comments" (JSONC).
4+ {
5+ "name" : " Halide" ,
6+ "build" : {
7+ "dockerfile" : " Dockerfile"
8+ },
9+ "runArgs" : [
10+ " --userns=keep-id" ,
11+ " --security-opt" ,
12+ " label=disable"
13+ ],
14+ "customizations" : {
15+ "jetbrains" : {
16+ "backend" : " CLion" ,
17+ "settings" : {
18+ // IDE settings can be added via “Show context actions”|“Add currently modified settings from IDE”.
19+ // A complete list of supported settings is also available through auto-completion
20+ },
21+ "plugins" : [
22+ // A set of plugin IDs.
23+ // Plugin ID can be found on the corresponding plugin’s page at https://plugins.jetbrains.com.
24+ ]
25+ }
26+ },
27+ "features" : {
28+ "ghcr.io/devcontainers/features/git" : {},
29+ "ghcr.io/devcontainers/features/common-utils" : {
30+ "installZsh" : false
31+ }
32+ },
33+ // Comment out to connect as the root user.
34+ "remoteUser" : " ubuntu" ,
35+ "containerUser" : " root"
36+ }
You can’t perform that action at this time.
0 commit comments