Skip to content

Commit 969a0ec

Browse files
committed
chore: translate all comments from French to English
1 parent 181e35b commit 969a0ec

5 files changed

Lines changed: 50 additions & 50 deletions

File tree

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Dev Container compatible avec Claude Code + BMAD-METHOD
2-
# Basé sur l'image base
1+
# Claude Code + BMAD-METHOD compatible Dev Container
2+
# Based on base image
33
FROM ghcr.io/pikatsuto/devcontainer-claude-code:latest
44

55
LABEL org.opencontainers.image.source="https://github.com/Pikatsuto/DevContainer-Claude-Code-Compatible"
@@ -10,12 +10,12 @@ ARG NODE_VERSION=24
1010

1111
USER root
1212

13-
# Installation de Node.js (requis pour BMAD-METHOD)
13+
# Install Node.js (required for BMAD-METHOD)
1414
RUN curl -fsSL https://deb.nodesource.com/setup_${NODE_VERSION}.x | bash - && \
1515
apt-get install -y nodejs && \
1616
rm -rf /var/lib/apt/lists/*
1717

1818
USER vscode
1919
WORKDIR /workspaces
2020

21-
CMD ["bash"]
21+
CMD ["zsh"]

.devcontainer/base-with-bmad/devcontainer.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@
22
"name": "Claude Code + BMAD-METHOD Dev Container",
33
"image": "ghcr.io/pikatsuto/devcontainer-claude-code-bmad:latest",
44

5-
// Montage des configurations de l'hôte
5+
// Mount host configurations
66
"mounts": [
77
"source=${localEnv:HOME}/.claude,target=/home/vscode/.claude,type=bind,consistency=cached",
88
"source=${localEnv:HOME}/.ssh,target=/home/vscode/.ssh,type=bind,readonly"
99
],
1010

11-
// Configuration de l'utilisateur
11+
// User configuration
1212
"remoteUser": "vscode",
1313
"containerUser": "vscode",
1414

15-
// Variables d'environnement
15+
// Environment variables
1616
"remoteEnv": {
1717
"CLAUDE_CONFIG_DIR": "/home/vscode/.claude"
1818
},
1919

20-
// Extensions VSCode recommandées
20+
// Recommended VSCode extensions
2121
"customizations": {
2222
"vscode": {
2323
"extensions": [
@@ -29,16 +29,16 @@
2929
}
3030
},
3131

32-
// Installation de BMAD-METHOD après création
32+
// Install BMAD-METHOD after creation
3333
"postCreateCommand": "claude --version && npx bmad-method install",
3434

35-
// Options du container
35+
// Container options
3636
"features": {},
3737

38-
// Capacités additionnelles si nécessaire
38+
// Additional capabilities if needed
3939
"capAdd": [],
4040

41-
// Monter le workspace
41+
// Mount workspace
4242
"workspaceMount": "source=${localWorkspaceFolder},target=/workspaces/${localWorkspaceFolderBasename},type=bind,consistency=cached",
4343
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}"
4444
}

.devcontainer/base/Dockerfile

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
1-
# Dev Container compatible avec Claude Code
1+
# Claude Code compatible Dev Container
22
# Base: Debian 13 (Trixie)
33
FROM debian:trixie-slim
44

55
LABEL org.opencontainers.image.source="https://github.com/Pikatsuto/DevContainer-Claude-Code-Compatible"
66
LABEL org.opencontainers.image.description="Dev Container with Claude Code pre-installed on Debian 13"
77
LABEL org.opencontainers.image.licenses="MIT"
88

9-
# Arguments pour la configuration
9+
# Configuration arguments
1010
ARG USERNAME=vscode
1111
ARG USER_UID=1000
1212
ARG USER_GID=$USER_UID
1313

1414
ENV DEBIAN_FRONTEND=noninteractive
1515
ENV PATH="/home/vscode/.local/bin:$PATH"
1616

17-
# Installation: Claude Code + outils d'analyse et debug
17+
# Install: Claude Code dependencies + analysis and debug tools
1818
RUN apt-get update && apt-get install -y --no-install-recommends \
19-
# Requis pour Claude Code
19+
# Required for Claude Code
2020
ca-certificates \
2121
curl \
2222
git \
2323
sudo \
2424
openssh-client \
25-
# Shell et plugins
25+
# Shell and plugins
2626
zsh \
2727
zsh-autosuggestions \
2828
zsh-syntax-highlighting \
29-
# Outils d'analyse et debug
29+
# Analysis and debug tools
3030
ripgrep \
3131
fd-find \
3232
jq \
@@ -37,47 +37,47 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
3737
tree \
3838
&& rm -rf /var/lib/apt/lists/*
3939

40-
# Installation de GitHub CLI
40+
# Install GitHub CLI
4141
RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg \
4242
&& chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg \
4343
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
4444
&& apt-get update \
4545
&& apt-get install -y gh \
4646
&& rm -rf /var/lib/apt/lists/*
4747

48-
# Installation de Starship (prompt moderne)
48+
# Install Starship (modern prompt)
4949
RUN curl -fsSL https://starship.rs/install.sh | sh -s -- -y
5050

51-
# Création de l'utilisateur non-root avec zsh
51+
# Create non-root user with zsh
5252
RUN groupadd --gid $USER_GID $USERNAME \
5353
&& useradd --uid $USER_UID --gid $USER_GID -m -s /bin/zsh $USERNAME \
5454
&& echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \
5555
&& chmod 0440 /etc/sudoers.d/$USERNAME
5656

57-
# Installation de Claude Code
57+
# Install Claude Code
5858
RUN curl -fsSL https://claude.ai/install.sh | bash
5959

60-
# Préparer les répertoires Claude Code
60+
# Prepare Claude Code directories
6161
RUN mkdir -p /home/$USERNAME/.claude && \
6262
chown -R $USERNAME:$USERNAME /home/$USERNAME/.claude
6363

64-
# Configuration zsh pour l'utilisateur
64+
# Configure zsh for user
6565
RUN cat <<'EOF' > /home/$USERNAME/.zshrc
66-
# Historique
66+
# History
6767
HISTFILE=~/.zsh_history
6868
HISTSIZE=10000
6969
SAVEHIST=10000
7070
setopt SHARE_HISTORY
7171
setopt HIST_IGNORE_DUPS
7272
setopt HIST_IGNORE_SPACE
7373

74-
# Navigation style fish
74+
# Fish-style navigation
7575
setopt AUTO_CD
7676
setopt AUTO_PUSHD
7777
setopt PUSHD_IGNORE_DUPS
7878
setopt CORRECT
7979

80-
# Complétion avancée
80+
# Advanced completion
8181
autoload -Uz compinit && compinit
8282
zstyle ':completion:*' menu select
8383
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}'
@@ -87,10 +87,10 @@ zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}"
8787
source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh
8888
source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
8989

90-
# Couleur des suggestions (gris clair)
90+
# Suggestion color (light gray)
9191
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=244'
9292

93-
# Raccourcis clavier style fish
93+
# Fish-style keybindings
9494
bindkey '^[[A' history-search-backward
9595
bindkey '^[[B' history-search-forward
9696
bindkey '^[[1;5C' forward-word
@@ -100,7 +100,7 @@ bindkey '^[[F' end-of-line
100100
bindkey '^[[3~' delete-char
101101
bindkey '^ ' autosuggest-accept
102102

103-
# Aliases utiles
103+
# Useful aliases
104104
alias ls='ls --color=auto'
105105
alias ll='ls -lah'
106106
alias la='ls -A'
@@ -112,9 +112,9 @@ alias fd='fdfind'
112112
eval "$(starship init zsh)"
113113
EOF
114114

115-
# Configuration Starship (thème sobre et informatif)
115+
# Configure Starship (minimal informative theme)
116116
RUN mkdir -p /home/$USERNAME/.config && cat <<'EOF' > /home/$USERNAME/.config/starship.toml
117-
# Prompt minimaliste style fish
117+
# Minimal fish-style prompt
118118
format = """
119119
$directory\
120120
$git_branch\

.devcontainer/base/devcontainer.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@
22
"name": "Claude Code Dev Container",
33
"image": "ghcr.io/pikatsuto/devcontainer-claude-code:latest",
44

5-
// Montage des configurations de l'hôte
5+
// Mount host configurations
66
"mounts": [
77
"source=${localEnv:HOME}/.claude,target=/home/vscode/.claude,type=bind,consistency=cached",
88
"source=${localEnv:HOME}/.ssh,target=/home/vscode/.ssh,type=bind,readonly"
99
],
1010

11-
// Configuration de l'utilisateur
11+
// User configuration
1212
"remoteUser": "vscode",
1313
"containerUser": "vscode",
1414

15-
// Variables d'environnement
15+
// Environment variables
1616
"remoteEnv": {
1717
"CLAUDE_CONFIG_DIR": "/home/vscode/.claude"
1818
},
1919

20-
// Extensions VSCode recommandées
20+
// Recommended VSCode extensions
2121
"customizations": {
2222
"vscode": {
2323
"extensions": [
@@ -29,16 +29,16 @@
2929
}
3030
},
3131

32-
// Commande post-création pour vérifier l'installation
32+
// Post-create command to verify installation
3333
"postCreateCommand": "claude --version || true",
3434

35-
// Options du container
35+
// Container options
3636
"features": {},
3737

38-
// Capacités additionnelles si nécessaire
38+
// Additional capabilities if needed
3939
"capAdd": [],
4040

41-
// Monter le workspace
41+
// Mount workspace
4242
"workspaceMount": "source=${localWorkspaceFolder},target=/workspaces/${localWorkspaceFolderBasename},type=bind,consistency=cached",
4343
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}"
44-
}
44+
}

.github/workflows/build-container.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
- '.devcontainer/**'
99
- '.github/workflows/build-container.yml'
1010
schedule:
11-
# Toutes les 24h à 2h du matin UTC
11+
# Every 24h at 2am UTC
1212
- cron: '0 2 * * *'
1313
workflow_dispatch:
1414

@@ -27,7 +27,7 @@ jobs:
2727
- name: Find all Dockerfiles
2828
id: find
2929
run: |
30-
# Trouver tous les dossiers contenant un Dockerfile
30+
# Find all directories containing a Dockerfile
3131
CONTAINERS=$(find .devcontainer -mindepth 2 -name "Dockerfile" -printf '%h\n' | \
3232
sed 's|.devcontainer/||' | \
3333
jq -R -s -c 'split("\n") | map(select(length > 0))')
@@ -56,35 +56,35 @@ jobs:
5656
- name: Get current versions
5757
id: versions
5858
run: |
59-
# Récupérer la dernière version de Claude Code
59+
# Get latest Claude Code version
6060
CLAUDE_VERSION=$(npm view @anthropic-ai/claude-code version 2>/dev/null || echo "unknown")
6161
echo "claude_version=$CLAUDE_VERSION" >> $GITHUB_OUTPUT
6262
echo "Claude Code version: $CLAUDE_VERSION"
6363
6464
- name: Check if rebuild is needed
6565
id: check
6666
run: |
67-
# Pour les push, toujours rebuild
67+
# For push events, always rebuild
6868
if [[ "${{ github.event_name }}" == "push" ]]; then
6969
echo "should_build=true" >> $GITHUB_OUTPUT
7070
echo "Push event - will rebuild"
7171
exit 0
7272
fi
7373
74-
# Pour les workflow_dispatch, toujours rebuild
74+
# For workflow_dispatch, always rebuild
7575
if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
7676
echo "should_build=true" >> $GITHUB_OUTPUT
7777
echo "Manual trigger - will rebuild"
7878
exit 0
7979
fi
8080
81-
# Pour le cron, vérifier les versions et les hashes
81+
# For cron, check versions and hashes
8282
echo "Checking for changes..."
8383
8484
CURRENT_CLAUDE_VERSION="${{ steps.versions.outputs.claude_version }}"
8585
CACHE_FILE=".claude-version-cache"
8686
87-
# Vérifier si la version de Claude Code a changé
87+
# Check if Claude Code version changed
8888
if [[ -f "$CACHE_FILE" ]]; then
8989
CACHED_VERSION=$(cat "$CACHE_FILE")
9090
if [[ "$CACHED_VERSION" != "$CURRENT_CLAUDE_VERSION" ]]; then
@@ -98,7 +98,7 @@ jobs:
9898
exit 0
9999
fi
100100
101-
# Vérifier le hash de tous les Dockerfiles
101+
# Check hash of all Dockerfiles
102102
DOCKERFILE_HASH=$(find .devcontainer -name "Dockerfile" -exec sha256sum {} \; | sort | sha256sum | cut -d' ' -f1)
103103
CACHE_DOCKERFILE=".dockerfile-hash-cache"
104104
@@ -140,7 +140,7 @@ jobs:
140140
CONTAINER="${{ matrix.container }}"
141141
OWNER="${{ github.repository_owner }}"
142142
143-
# Générer le nom de l'image basé sur le dossier
143+
# Generate image name based on folder
144144
case "$CONTAINER" in
145145
"base")
146146
IMAGE_NAME="devcontainer-claude-code"

0 commit comments

Comments
 (0)