Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM ubuntu:24.04 AS spython-base
RUN export DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN apt-get install -y --no-install-recommends git
RUN apt-get install -y --no-install-recommends python3
RUN apt-get install -y --no-install-recommends python3.12-venv python3-pip
RUN apt-get install -y --no-install-recommends build-essential
RUN apt-get install -y --no-install-recommends ruby ruby-dev
RUN apt-get install -y --no-install-recommends bundler
RUN apt-get install -y --no-install-recommends nodejs
RUN apt-get install -y --no-install-recommends npm
RUN apt-get install -y --no-install-recommends ditaa
RUN apt-get clean autoclean
RUN apt-get autoremove -y
RUN rm -rf /var/lib/{apt, dpkg, cache, log}
37 changes: 37 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"name": "RISC-V UnifiedDB Dev",
"build": { "dockerfile": "Dockerfile" },
"updateContentCommand": "${containerWorkspaceFolder}/.devcontainer/updateContentCommand.sh",
"onCreateCommand": "${containerWorkspaceFolder}/.devcontainer/onCreateCommand.sh",
"remoteEnv": {
"DISPLAY": ":0"
},
// vscode extensions
"customizations": {
"vscode": {
"settings": {
"solargraph.bundlerPath": "bundle",
"solargraph.useBundler": true,
"files.exclude": {
"**/.home": true,
"**/.yardoc": true
},
"files.watcherExclude": {
"**/.home": true
},
"asciidoc.antora.showEnableAntoraPrompt": true
},
"extensions": [
"castwide.solargraph",
"redhat.vscode-yaml",
"asciidoctor.asciidoctor-vscode",
"zhwu95.riscv",
"tomoki1207.pdf",
"CraigMaslowski.erb"
]
}
},
"forwardPorts": [
8000, 8080
]
}
4 changes: 4 additions & 0 deletions .devcontainer/onCreateCommand.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

npm i
bundle install
3 changes: 3 additions & 0 deletions .devcontainer/updateContentCommand.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

bundle
13 changes: 0 additions & 13 deletions .vscode/settings.json

This file was deleted.

Loading