Skip to content

Commit

Permalink
Merge pull request #21 from aristotelesbr/docker-image
Browse files Browse the repository at this point in the history
Docker image
  • Loading branch information
aristotelesbr authored Dec 31, 2023
2 parents 79e201b + 6ca4e90 commit 0e50a99
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0e50a99

Please sign in to comment.