Skip to content

Devika is the first open-source implementation of an Agentic Software Engineer. Initially started as an open-source alternative to Devin.

Python

Make apt-get upgrade pass without user interaction

Mikael Grön601e3756f02b
diff --git a/app.dockerfile b/app.dockerfile
index 67a9976..693addb 100644
--- a/app.dockerfile
+++ b/app.dockerfile
@@ -10,7 +10,7 @@ WORKDIR /home/nonroot/client
RUN groupadd -r nonroot && useradd -r -g nonroot -d /home/nonroot/client -s /bin/bash nonroot
# install node js
-RUN apt-get update && apt-get upgrade
+RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y build-essential software-properties-common curl sudo wget git
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
RUN apt-get install nodejs
diff --git a/devika.dockerfile b/devika.dockerfile
index 4f266cc..7404de6 100644
--- a/devika.dockerfile
+++ b/devika.dockerfile
@@ -9,7 +9,7 @@ ENV PYTHONUNBUFFERED 1
ENV PYTHONDONTWRITEBYTECODE 1
# setting up python3
-RUN apt-get update && apt-get upgrade
+RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y build-essential software-properties-common curl sudo wget git
RUN apt-get install -y python3 python3-pip
RUN curl -fsSL https://astral.sh/uv/install.sh | sudo -E bash -