Files
KNELProductionContainers/CloudronPackages/Workspace/Dockerfile.helper
2025-10-17 15:09:16 -05:00

53 lines
1.3 KiB
Docker

# Cloudron Packaging Helper Container
# Based on Ubuntu 22.04 as requested
FROM ubuntu:22.04
# Set environment variables
ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=UTC
# Install system dependencies
RUN apt-get update && apt-get install -y \
curl \
wget \
git \
docker.io \
docker-compose \
jq \
vim \
nano \
build-essential \
python3 \
python3-pip \
nodejs \
npm \
golang-go \
&& rm -rf /var/lib/apt/lists/*
# Install yq separately
RUN wget -qO /usr/local/bin/yq https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 && \
chmod +x /usr/local/bin/yq
# Install Cloudron CLI tools
# Note: These may need to be updated based on latest Cloudron documentation
RUN curl -fsSL https://cloudron.io/cloudron-cli/install.sh | bash
# Create workspace directory
WORKDIR /workspace
# Copy the entire CloudronPackages directory
COPY . /workspace/
# Set up git configuration (will be overridden by user's config)
RUN git config --global user.name "Cloudron Packager" && \
git config --global user.email "packager@cloudron.local"
# Create directories for package development
RUN mkdir -p /workspace/packages /workspace/temp
# Set working directory to the main project
WORKDIR /workspace
# Default command
CMD ["/bin/bash"]