diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 0000000..5acdba8 --- /dev/null +++ b/.devcontainer/Dockerfile @@ -0,0 +1,8 @@ +# Released under the MIT License. +# Copyright, 2023, by Aristóteles Coutinho. + +# [Choice] Ruby version: 3, 3.0, 2, 2.7, 2.6 +ARG VARIANT="3" +FROM mcr.microsoft.com/devcontainers/ruby:${VARIANT} + +RUN apt-get update \ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 931c941..4184783 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,11 +1,11 @@ // 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": "Lennarb", + "name": "Lennarb project development", // 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" "build": { - "dockerfile": "../Dockerfile" + "dockerfile": "Dockerfile" } // Features to add to the dev container. More info: https://containers.dev/features. // "features": {}, diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 19a60d8..0000000 --- a/Dockerfile +++ /dev/null @@ -1,6 +0,0 @@ -# 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