From cfb8956ac5582fa995afd4e1be87607cda8ce0f7 Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Wed, 28 May 2025 23:09:05 -0700 Subject: [PATCH] Cursor config --- .cursor/Dockerfile | 26 -------------------------- .cursor/environment.json | 4 ---- 2 files changed, 30 deletions(-) delete mode 100644 .cursor/Dockerfile diff --git a/.cursor/Dockerfile b/.cursor/Dockerfile deleted file mode 100644 index 3e2cb19afc..0000000000 --- a/.cursor/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -FROM ghcr.io/oven-sh/bun-development-docker-image:prebuilt - -# Create a non-root user for development -RUN useradd -m -s /bin/bash ubuntu - -# Create workspace directory and give ubuntu user access -RUN mkdir -p /workspace && \ - chown -R ubuntu:ubuntu /workspace && \ - # Allow ubuntu user to use sudo without password for development tasks - apt-get update && apt-get install -y sudo && \ - echo "ubuntu ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && \ - rm -rf /var/lib/apt/lists/* - -# Set the user and working directory -USER ubuntu -WORKDIR /workspace/bun - -# Configure Git for the ubuntu user (agents often need this) -RUN git config --global user.name "Background Agent" && \ - git config --global user.email "agent@cursor.com" && \ - git config --global init.defaultBranch main - -# Ensure PATH includes Bun binaries for the ubuntu user -ENV PATH="/workspace/bun/build/debug:/workspace/bun/build/release:/usr/local/bin:${PATH}" - -RUN git pull \ No newline at end of file diff --git a/.cursor/environment.json b/.cursor/environment.json index 777b12d0eb..df0abdb9c8 100644 --- a/.cursor/environment.json +++ b/.cursor/environment.json @@ -1,7 +1,3 @@ { - "build": { - "dockerfile": "Dockerfile", - "context": "." - }, "terminals": [] }