diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 9d42d67..931c941 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,22 +1,20 @@ // For format details, see https://aka.ms/devcontainer.json. For config options, see the // README at: https://github.com/devcontainers/templates/tree/main/src/ruby { - "name": "Ruby", + "name": "Lennarb", // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile - "image": "mcr.microsoft.com/devcontainers/ruby:1-3.2-bullseye" - + // "image": "mcr.microsoft.com/devcontainers/ruby:1-3.2-bullseye" + "build": { + "dockerfile": "../Dockerfile" + } // Features to add to the dev container. More info: https://containers.dev/features. // "features": {}, - // Use 'forwardPorts' to make a list of ports inside the container available locally. // "forwardPorts": [], - // Use 'postCreateCommand' to run commands after the container is created. // "postCreateCommand": "ruby --version", - // Configure tool-specific properties. // "customizations": {}, - // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. // "remoteUser": "root" -} +} \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..19a60d8 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,6 @@ +# Released under the MIT License. +# Copyright, 2023, by Aristóteles Coutinho. + +FROM mcr.microsoft.com/devcontainers/base:ubuntu + +RUN apt-get update \ No newline at end of file