From 851e6f15b30ddc7636cfe78d85a9b399f4e0d7b6 Mon Sep 17 00:00:00 2001
From: Cristiano Magro <cristiano.magro@vola.it>
Date: Sat, 04 Oct 2025 23:44:48 +0200
Subject: [PATCH] altri esercizi

---
 .devcontainer/Dockerfile |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile
new file mode 100644
index 0000000..0a1f4e9
--- /dev/null
+++ b/.devcontainer/Dockerfile
@@ -0,0 +1,18 @@
+FROM openjdk:25-ea-18-slim
+
+# Install tools (esempio: Maven)
+RUN apt-get update && \
+    apt-get install -y maven git curl unzip && \
+    rm -rf /var/lib/apt/lists/*
+
+# Crea utente vscode (richiesto per VS Code Dev Container)
+RUN useradd -ms /bin/bash vscode && echo "vscode ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
+
+# Imposta la directory di lavoro
+WORKDIR /workspace
+
+# Imposta utente vscode
+USER vscode
+
+ENV JAVA_HOME=/usr/local/openjdk-25
+ENV PATH=$JAVA_HOME/bin:$PATH

--
Gitblit v1.8.0