Skip to content

Feature Aptfile Dependencies #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 16, 2025
Merged

Feature Aptfile Dependencies #1

merged 4 commits into from
Jan 16, 2025

Conversation

viktorianer
Copy link
Owner

Motivation / Background

This PR introduces a new DevContainer feature, Aptfile Dependencies, that simplifies managing apt package installations in development environments. Inspired by [heroku-buildpack-apt](https://github.com/heroku/heroku-buildpack-apt), it allows developers to specify system dependencies in an Aptfile.dev file, automating their installation during container setup.

This change is required to streamline and standardize the process of handling apt dependencies in DevContainers, reducing manual configuration and potential errors.

Example Aptfile.dev usage:

# Video processing
ffmpeg
libvips

# PDF utilities
poppler-utils

# Database libraries
libpq-dev

Example configuration in devcontainer.json:

"features": {
    "ghcr.io/viktorianer/devcontainer-features/apt:1": {
        "devFile": "Aptfile.dev"
    }
}

Development Checklist

  • Add and run tests
  • Add and run global test
  • Update README
  • Update documentation for developers
  • Check best practices

@viktorianer viktorianer force-pushed the feature/apt branch 4 times, most recently from 766e902 to 4144264 Compare January 16, 2025 12:42
@viktorianer viktorianer merged commit fc23124 into main Jan 16, 2025
6 checks passed
@viktorianer viktorianer deleted the feature/apt branch January 16, 2025 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant