Files
42_EXT_03_42chips/.devcontainer/Dockerfile
2025-03-06 02:00:56 +01:00

24 lines
581 B
Docker

# Use Ubuntu as the base image
FROM ubuntu:latest
# Update and install necessary dependencies
RUN apt-get update && apt-get install -y \
build-essential \
curl \
git \
vim \
avr-libc gcc-avr binutils-avr \
avrdude \
&& rm -rf /var/lib/apt/lists/*
# Set the working directory to /workspace (VSCode will mount your local folder here)
WORKDIR /workspace
# Set the default user as root for installing packages
USER root
# Expose any necessary ports (if needed)
# EXPOSE 3000
# Run bash as the default command when the container starts
CMD ["/bin/bash"]