Packages.txt - "E: Unable to locate package ___"

Attempting to load packages from GitHub repo.
Need to add Git and SSH to OS-level packages. but am getting an error: “E: Unable to locate package git”.

any help is appreciated. Cheers!

full error log:

Env file ".env" found. Loading...
Sending build context to Docker daemon  36.05MB
Step 1/11 : FROM
# Executing 7 build triggers
 ---> Using cache
 ---> Using cache
 ---> Running in 5ed9c9992a8d
+ [[ -s packages.txt ]]
+ apt-get update
Get:1 bullseye InRelease [116 kB]
Get:2 bullseye-security InRelease [44.1 kB]
Get:3 bullseye-updates InRelease [39.4 kB]
Get:4 bullseye/main amd64 Packages [8182 kB]
Get:5 bullseye-security/main amd64 Packages [154 kB]
Get:6 bullseye-updates/main amd64 Packages [2592 B]
Fetched 8539 kB in 2s (5179 kB/s)
Reading package lists...
+ cat packages.txt
+ xargs apt-get install -y --no-install-recommends
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package git
The command '/bin/bash -o pipefail -e -u -x -c if [[ -s packages.txt ]]; then     apt-get update && cat packages.txt | xargs apt-get install -y --no-install-recommends     && apt-get clean     && rm -rf /var/lib/apt/lists/*;   fi' returned a non-zero code: 123
Error: command 'docker build -t airflow_b65b75/airflow:latest failed: failed to execute cmd: exit status 123
error Command failed with exit code 1.
info Visit for documentation about this command.

Hi @TylerPF - Take a look at our doc here

For example in Step 2, you’ll install the git package as part of the process

FROM stage1 AS stage2
USER root
RUN apt-get -y install git python3 openssh-client \
  && mkdir -p -m 0600 ~/.ssh && ssh-keyscan >> ~/.ssh/known_hosts
# Install Python Packages
COPY requirements.txt .
RUN --mount=type=ssh,id=github pip install --no-cache-dir -q -r requirements.txt