Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
supcik committed Dec 18, 2024
0 parents commit 02e1f81
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
FROM mcr.microsoft.com/devcontainers/python:3.12-bookworm
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install \
binaryen \
emscripten \
git \
wabt

USER vscode:vscode

# Install Just
RUN curl --proto '=https' --tlsv1.2 -sSfL https://just.systems/install.sh | bash -s -- --to $HOME/.local/bin
RUN $HOME/.local/bin/just --completions zsh > ${HOME}/just.zsh
RUN echo "source ${HOME}/just.zsh" >> ${HOME}/.zshrc

# Install Wasmtime
RUN curl -sSfL https://wasmtime.dev/install.sh | bash

# Install Poetry with poetry-plugin-up
RUN curl -sSfL https://install.python-poetry.org | python3 -
RUN $HOME/.local/bin/poetry self add poetry-plugin-up
28 changes: 28 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"build": {
"dockerfile": "Dockerfile"
},
"customizations": {
"vscode": {
"settings": {
"terminal.integrated.defaultProfile.linux": "zsh",
"terminal.integrated.profiles.linux": {
"zsh": {
"path": "/bin/zsh"
}
}
},
"extensions": [
"dtsvet.vscode-wasm",
"ms-python.python",
"ms-python.black-formatter",
"charliermarsh.ruff",
"ms-azuretools.vscode-docker"
]
}
},
"onCreateCommand": [
"zsh",
"./.startup.sh"
]
}
2 changes: 2 additions & 0 deletions .startup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
source ~/.zshrc
omz theme set eastwood

0 comments on commit 02e1f81

Please sign in to comment.