-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdev.dockerfile
More file actions
34 lines (24 loc) · 1.01 KB
/
dev.dockerfile
File metadata and controls
34 lines (24 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
FROM debian:trixie-slim
RUN apt-get update && apt-get install -y git \
curl build-essential capnproto libcapnp-dev musl-tools nodejs
RUN curl https://mise.run | sh
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | \
sh -s -- -y --default-toolchain none
RUN echo 'export PATH=~/.local/bin:~/.cargo/bin:$PATH' >> ~/.bashrc && \
echo 'eval "$(~/.local/bin/mise activate bash)"' >> ~/.bashrc && \
echo '[[ -f ~/.bashrc ]] && source ~/.bashrc' >> ~/.bash_profile
SHELL ["/bin/bash", "-l", "-c"]
RUN mise use -g node@22
ENV MISE_TRUSTED_CONFIG_PATHS="/"
RUN --mount=type=bind,rw,source=.,target=/workspace \
cd /workspace && \
mise install && \
rustup install && \
rustup target add aarch64-unknown-linux-musl && \
rustup component add rust-analyzer
RUN curl -fsSL https://claude.ai/install.sh | bash
RUN curl -fsSL https://gh.io/copilot-install | bash
RUN npm i -g @openai/codex
# network debugging tools
RUN apt-get install -y iproute2 tcpdump iptables
ENTRYPOINT ["/bin/bash"]