v.0.8.0 DEV CONTAINER

This commit is contained in:
tiijay
2025-11-17 16:34:07 +00:00
parent 4459a2f648
commit c3658ce302
4 changed files with 96 additions and 14 deletions

34
.devcontainer/Dockerfile Normal file
View File

@@ -0,0 +1,34 @@
#Moin from VSCode
# FROM python:3.13-slim
# RUN apt-get update && apt-get install -y \
# git \
# curl \
# wget \
# && rm -rf /var/lib/apt/lists/*
FROM python:3.13-alpine
RUN apk add --no-cache \
git \
curl \
wget \
bash \
build-base \
linux-headers \
# Fish Shell hinzufügen
fish
# mpremote Symlink in postCreateCommand erstellen
# Oder direkt in der Dockerfile:
RUN pip install mpremote && \
ln -sf /usr/local/bin/mpremote /usr/bin/mpremote || true
# # Optional: Benutzer erstellen
RUN adduser -D -s /bin/bash vscode
USER vscode
WORKDIR /workspace
# Standard Shell auf Fish setzen (optional)
SHELL ["/usr/bin/fish", "-c"]