Something went wrong. Try again.
Monorepo for Aesthetic.Computer aesthetic.computer
Something went wrong. Try again.
1.0 kB · 32 lines
Shell
123456789101112131415161718192021222324252627282930313233#!/bin/shset -eu
# Remove any existing container named "aesthetic" to prevent rebuild conflictsdocker rm -f aesthetic 2>/dev/null || true
mkdir -p \ .devcontainer/tezos-node \ .devcontainer/tezos-data \ .devcontainer/envs \ .devcontainer/.emacs.d \ "$HOME/.claude" \ "$HOME/.codex"
chmod 700 "$HOME/.claude" "$HOME/.codex" 2>/dev/null || true
# Claude also keeps account metadata in ~/.claude.json.# Ensure the file exists before bind-mounting it into the container.if [ ! -f "$HOME/.claude.json" ]; then : > "$HOME/.claude.json"fichmod 600 "$HOME/.claude.json" 2>/dev/null || true
# Normalize script readability/executability for container startup hooks.# Some host filesystems/checkouts can leave restrictive bits that cause# postStartCommand to fail with "Permission denied" inside the container.chmod 755 .devcontainer .devcontainer/scripts 2>/dev/null || truechmod 755 .devcontainer/scripts/poststart-wrapper.sh 2>/dev/null || true
if [ ! -f .devcontainer/fish_history ]; then : > .devcontainer/fish_historyfi