Skip to content

Commit 03156ae

Browse files
dyoshikawaClaude Codeclaude
authored
fix: correct mise activation command for bash in Dockerfile (#759)
- Fix mise activation in .bashrc to use 'bash' instead of 'zsh' - Standardize indentation in apt install command (2 spaces to 4 spaces) - Remove unnecessary intermediate environment variable 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Code <[email protected]> Co-authored-by: Claude Opus 4.5 <[email protected]>
1 parent c3998f1 commit 03156ae

File tree

1 file changed

+21
-22
lines changed

1 file changed

+21
-22
lines changed

.devcontainer/Dockerfile

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,25 @@ ENV TZ="$TZ"
55

66
# Install basic development tools and iptables/ipset
77
RUN apt update && apt install -y less \
8-
git \
9-
procps \
10-
sudo \
11-
fzf \
12-
zsh \
13-
man-db \
14-
unzip \
15-
gnupg2 \
16-
gh \
17-
iptables \
18-
ipset \
19-
iproute2 \
20-
dnsutils \
21-
aggregate \
22-
jq \
23-
vim \
24-
bubblewrap \
25-
socat \
26-
ripgrep
8+
git \
9+
procps \
10+
sudo \
11+
fzf \
12+
zsh \
13+
man-db \
14+
unzip \
15+
gnupg2 \
16+
gh \
17+
iptables \
18+
ipset \
19+
iproute2 \
20+
dnsutils \
21+
aggregate \
22+
jq \
23+
vim \
24+
bubblewrap \
25+
socat \
26+
ripgrep
2727

2828
# Ensure default node user has access to /usr/local/share
2929
RUN mkdir -p /usr/local/share/npm-global && \
@@ -84,9 +84,8 @@ RUN sh -c "$(wget -O- https://github.com/deluan/zsh-in-docker/releases/download/
8484
# Install mise
8585
ENV PATH=$PATH:/home/node/.local/bin
8686
RUN curl https://mise.run | sh
87-
ENV MISE_ACTIVATE_COMMAND="eval \"\$(/home/node/.local/bin/mise activate zsh)\""
88-
RUN echo ${MISE_ACTIVATE_COMMAND} >> "/home/node/.zshrc"
89-
RUN echo ${MISE_ACTIVATE_COMMAND} >> "/home/node/.bashrc"
87+
RUN echo "eval \"\$(/home/node/.local/bin/mise activate zsh)\"" >> "/home/node/.zshrc"
88+
RUN echo "eval \"\$(/home/node/.local/bin/mise activate bash)\"" >> "/home/node/.bashrc"
9089

9190
# Copy mise.toml and run mise trust and install
9291
# NOTE: The tools installed in this image are based on the contents of mise.toml at build time.

0 commit comments

Comments
 (0)