diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 0000000..cc2df7c --- /dev/null +++ b/.devcontainer/Dockerfile @@ -0,0 +1,10 @@ +FROM mcr.microsoft.com/devcontainers/ruby:latest + +# Install system dependencies including libvips +RUN apt-get update && apt-get install -y \ + build-essential \ + git \ + libvips42 \ + libvips-dev \ + && rm -rf /var/lib/apt/lists/* + diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 8bd08eb..4f709dd 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,7 +1,8 @@ { "name": "blog", - "image": "mcr.microsoft.com/devcontainers/ruby:latest", - "features": {}, + "build": { + "dockerfile": "Dockerfile" + }, "customizations": { "vscode": { "extensions": [