Create Dockerfile
Browse files- Dockerfile +14 -0
Dockerfile
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Usa un'immagine di base di Ubuntu
|
| 2 |
+
FROM ubuntu:20.04
|
| 3 |
+
|
| 4 |
+
# Installare pacchetti necessari
|
| 5 |
+
RUN apt-get update && apt-get install -y \
|
| 6 |
+
bash \
|
| 7 |
+
git \
|
| 8 |
+
python3 \
|
| 9 |
+
python3-pip \
|
| 10 |
+
&& rm -rf /var/lib/apt/lists/*
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
# Comando per mantenere il container in esecuzione e avere accesso al terminale
|
| 14 |
+
CMD ["bash"]
|