Cursor config

This commit is contained in:
Jarred Sumner
2025-05-28 23:09:05 -07:00
parent 2bb36ca6b4
commit cfb8956ac5
2 changed files with 0 additions and 30 deletions

View File

@@ -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

View File

@@ -1,7 +1,3 @@
{
"build": {
"dockerfile": "Dockerfile",
"context": "."
},
"terminals": []
}