-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile.dev
More file actions
23 lines (19 loc) · 716 Bytes
/
Dockerfile.dev
File metadata and controls
23 lines (19 loc) · 716 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM mcr.microsoft.com/devcontainers/base:ubuntu AS runner
COPY ./.devcontainer/first-run-notice.txt /tmp/scripts/
RUN mv -f /tmp/scripts/first-run-notice.txt /usr/local/etc/vscode-dev-containers/
COPY ./setup-llvm.sh .
RUN apt-get update && apt-get install -y gnupg2 software-properties-common cmake
RUN apt-get update && apt-get install -y lsb-release wget && apt-get clean all
RUN ./setup-llvm.sh
RUN apt update
RUN apt install -y git libxml2 build-essential libunwind-dev
RUN apt-get update
# Get Ubuntu packages
RUN apt-get install -y \
build-essential \
curl
# Update new packages
RUN apt-get update
# Get Rust
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"