Skip to content

Commit

Permalink
Use Containerfile for devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
gbraad committed Nov 14, 2024
1 parent 5a3f4e1 commit 8358344
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .devcontainer/Containerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM ghcr.io/gbraad-redhat/mdbook:0.4.42

RUN dnf install -y git-core \
&& dnf clean all \
&& rm -rf /var/cache/yum
4 changes: 3 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"name": "mdBook environment",
"image": "ghcr.io/gbraad-redhat/mdbook:0.4.42",
"build": {
"dockerfile": "Containerfile"
},

"customizations": {
"vscode": {
Expand Down

0 comments on commit 8358344

Please sign in to comment.