Skip to content

A programming framework for agentic AI

git-lhs added to devcontainers (#1979)

Davor Runjed728cd911048
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile
index f2dd4b84d..8a75a1487 100644
--- a/.devcontainer/Dockerfile
+++ b/.devcontainer/Dockerfile
@@ -9,9 +9,13 @@ FROM mcr.microsoft.com/vscode/devcontainers/python:3.10
# Update the OS and maybe install packages
#
ENV DEBIAN_FRONTEND=noninteractive
+
+# add git lhs to apt
+RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
+
RUN apt-get update \
&& apt-get upgrade -y \
- && apt-get -y install --no-install-recommends build-essential npm \
+ && apt-get -y install --no-install-recommends build-essential npm git-lfs \
&& apt-get autoremove -y \
&& apt-get clean -y \
&& arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) \
@@ -22,6 +26,7 @@ ENV DEBIAN_FRONTEND=dialog
# For docs
RUN npm install --global yarn
+RUN pip install --upgrade pip
RUN pip install pydoc-markdown
RUN pip install pyyaml
RUN pip install colored
diff --git a/.devcontainer/dev/Dockerfile b/.devcontainer/dev/Dockerfile
index 4749e41ba..c5de08f49 100644
--- a/.devcontainer/dev/Dockerfile
+++ b/.devcontainer/dev/Dockerfile
@@ -1,10 +1,13 @@
# Basic setup
FROM python:3.11-slim-bookworm
+# add git lhs to apt
+RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
+
# Update and install necessary packages
RUN apt-get update && apt-get -y update
# added vim and nano for convenience
-RUN apt-get install -y sudo git npm vim nano curl wget
+RUN apt-get install -y sudo git npm vim nano curl wget git-lhs
# Setup a non-root user 'autogen' with sudo access
RUN adduser --disabled-password --gecos '' autogen
@@ -44,6 +47,7 @@ ENV PATH="${PATH}:/home/autogen/quarto/quarto-1.5.23/bin/"
EXPOSE 3000
# Pre-load popular Python packages
+RUN pip install --upgrade pip
RUN pip install numpy pandas matplotlib seaborn scikit-learn requests urllib3 nltk pillow pytest beautifulsoup4
# Set the default command to bash
diff --git a/.devcontainer/full/Dockerfile b/.devcontainer/full/Dockerfile
index 15122b2ac..8b33e7431 100644
--- a/.devcontainer/full/Dockerfile
+++ b/.devcontainer/full/Dockerfile
@@ -1,9 +1,12 @@
FROM python:3.11-slim-bookworm
+# add git lhs to apt
+RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
+
# Update and install dependencies
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
- software-properties-common sudo\
+ software-properties-common sudo git-lhs \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
diff --git a/.devcontainer/studio/Dockerfile b/.devcontainer/studio/Dockerfile
index 5bf2d4c27..d612cea9d 100644
--- a/.devcontainer/studio/Dockerfile
+++ b/.devcontainer/studio/Dockerfile
@@ -9,9 +9,13 @@ FROM mcr.microsoft.com/vscode/devcontainers/python:3.10
# Update the OS and maybe install packages
#
ENV DEBIAN_FRONTEND=noninteractive
+
+# add git lhs to apt
+RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
+
RUN apt-get update \
&& apt-get upgrade -y \
- && apt-get -y install --no-install-recommends build-essential npm \
+ && apt-get -y install --no-install-recommends build-essential npm git-lfs \
&& apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*
@@ -19,4 +23,5 @@ ENV DEBIAN_FRONTEND=dialog
# For docs
RUN npm install --global yarn
+RUN pip install --upgrade pip
RUN pip install pydoc-markdown