Files
claude-code/Dockerfile
T
sala f59ddcc368
Build and Push Docker Image to Gitea / build-and-push (push) Failing after 18s
first upload
2026-06-03 08:34:29 +02:00

18 lines
525 B
Docker

FROM ubuntu:latest
# Install common dependencies for GUI applications
RUN apt-get update && apt -y dist-upgrade && apt-get install -y \
curl git \
&& rm -rf /var/lib/apt/lists/* && apt clean
USER ubuntu
ENV HOME=/home/ubuntu
# ENV USER=appuser
# # Set working directory for the user
WORKDIR $HOME
RUN ["curl", "-fsSL", "-o", "install.sh", "https://claude.ai/install.sh"]
RUN ["/bin/bash", "install.sh"]
ENV PATH="$HOME/.local/bin:$PATH"
WORKDIR /workspace
# Default command - to be overridden by user
CMD ["claude"]