|
1 | 1 | FROM mcr.microsoft.com/devcontainers/python:3-3.14-trixie |
2 | | -# Install |
| 2 | +# Install |
3 | 3 | RUN apt-get update && apt-get install -y git vim curl tmux wget |
4 | 4 | RUN pip install uv |
5 | | -RUN cd /tmp && \ |
6 | | -curl -LO https://github.com/specstoryai/getspecstory/releases/latest/download/SpecStoryCLI_Linux_x86_64.tar.gz && \ |
7 | | -tar -xzf SpecStoryCLI_Linux_x86_64.tar.gz && \ |
8 | | -mv specstory /usr/local/bin/ && chmod +x /usr/local/bin/specstory |
| 5 | +RUN ARCH=$(uname -m) && \ |
| 6 | + if [ "$ARCH" = "aarch64" ]; then SPEC_ARCH="Linux_arm64"; else SPEC_ARCH="Linux_x86_64"; fi && \ |
| 7 | + cd /tmp && \ |
| 8 | + curl -LO "https://github.com/specstoryai/getspecstory/releases/latest/download/SpecStoryCLI_${SPEC_ARCH}.tar.gz" && \ |
| 9 | + tar -xzf "SpecStoryCLI_${SPEC_ARCH}.tar.gz" && \ |
| 10 | + mv specstory /usr/local/bin/ && chmod +x /usr/local/bin/specstory |
9 | 11 | RUN curl -fsSL https://claude.ai/install.sh | sudo -u vscode bash |
10 | | -RUN curl -fsSL https://raw.githubusercontent.com/steveyegge/beads/main/scripts/install.sh | bash && ln -s /usr/lib/x86_64-linux-gnu/libicui18n.so /usr/lib/x86_64-linux-gnu/libicui18n.so.74 |
11 | | -RUN cd /tmp && curl -L -o temporal.tar.gz "https://temporal.download/cli/archive/latest?platform=linux&arch=amd64" && \ |
12 | | -tar -xzf temporal.tar.gz && mv temporal /usr/local/bin/ && chmod +x /usr/local/bin/temporal |
| 12 | +RUN ARCH=$(uname -m) && \ |
| 13 | + if [ "$ARCH" = "aarch64" ]; then LIB_DIR="aarch64-linux-gnu"; else LIB_DIR="x86_64-linux-gnu"; fi && \ |
| 14 | + curl -fsSL https://raw.githubusercontent.com/steveyegge/beads/main/scripts/install.sh | bash && \ |
| 15 | + ln -s /usr/lib/${LIB_DIR}/libicui18n.so /usr/lib/${LIB_DIR}/libicui18n.so.74 |
| 16 | +RUN ARCH=$(uname -m) && \ |
| 17 | + if [ "$ARCH" = "aarch64" ]; then TEMPORAL_ARCH="arm64"; else TEMPORAL_ARCH="amd64"; fi && \ |
| 18 | + cd /tmp && curl -L -o temporal.tar.gz "https://temporal.download/cli/archive/latest?platform=linux&arch=${TEMPORAL_ARCH}" && \ |
| 19 | + tar -xzf temporal.tar.gz && mv temporal /usr/local/bin/ && chmod +x /usr/local/bin/temporal |
0 commit comments