-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
53 lines (44 loc) · 1.99 KB
/
Copy pathDockerfile
File metadata and controls
53 lines (44 loc) · 1.99 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
FROM mcr.microsoft.com/devcontainers/base:ubuntu-22.04
# ============================================================================
# Environment Configuration
# ============================================================================
ENV LANG=ja_JP.UTF-8 \
LANGUAGE=ja_JP:ja \
LC_ALL=ja_JP.UTF-8
# ============================================================================
# Japanese Locale
# ============================================================================
RUN sudo apt-get update && \
sudo apt-get install -y locales && \
sudo locale-gen ja_JP.UTF-8 && \
sudo apt-get clean && \
sudo rm -rf /var/lib/apt/lists/*
# ============================================================================
# Node.js & Package Managers
# ============================================================================
RUN curl -fsSL https://deb.nodesource.com/setup_22.x | sudo bash - && \
sudo apt-get install -y nodejs && \
sudo apt-get clean && \
sudo rm -rf /var/lib/apt/lists/* && \
corepack enable && \
corepack prepare pnpm@latest --activate
# Install uv (Python package manager)
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
# ============================================================================
# Development Tools
# ============================================================================
# Install lefthook
RUN curl -1sLf 'https://dl.cloudsmith.io/public/evilmartians/lefthook/setup.deb.sh' | sudo bash && \
sudo apt-get update && \
sudo apt-get install -y lefthook && \
sudo apt-get clean && \
sudo rm -rf /var/lib/apt/lists/*
# Install Task
RUN sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/local/bin
# Install Claude Code
RUN curl -fsSL https://claude.ai/install.sh | bash
# ============================================================================
# Workspace Configuration
# ============================================================================
WORKDIR /workspace
CMD ["sleep", "infinity"]