Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 25 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,29 @@
FROM mcr.microsoft.com/vscode/devcontainers/base:ubuntu-24.04

ADD first-run-notice.txt /usr/local/etc/vscode-dev-containers/first-run-notice.txt
# Add metadata
LABEL maintainer="your-email@example.com"
LABEL description="PHP development container with Inkscape"

# Copy configuration files
COPY first-run-notice.txt /usr/local/etc/vscode-dev-containers/first-run-notice.txt

# Install dependencies in a single layer with cleanup
RUN apt-get update -y && \
apt-get install -y php php-curl php-xml inkscape composer
apt-get install -y --no-install-recommends \
php \
php-curl \
php-xml \
php-mbstring \
php-zip \
inkscape \
composer \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

# Set working directory
WORKDIR /workspace

# Verify installations
RUN php --version && \
composer --version && \
inkscape --version