Skip to content

Commit

Permalink
Update Dockerfile to include additional dependencies
Browse files Browse the repository at this point in the history
Added git, libpq-dev, python-dev, and python3-pip to the initial apt-get install command to streamline the dependency installation process. This change ensures all necessary packages are installed in one run, improving build efficiency.
  • Loading branch information
billettc committed Sep 13, 2024
1 parent 02e37af commit 2c6ee4e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ FROM ubuntu:20.04
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get -y install \
gcc libssl-dev pkg-config protobuf-compiler \
ca-certificates libssl1.1 vim strace lsof curl jq && \
ca-certificates libssl1.1 vim strace lsof curl jq git libpq-dev python-dev python3-pip && \
rm -rf /var/cache/apt /var/lib/apt/lists/*

RUN DEBIAN_FRONTEND=noninteractive apt-get install git libpq-dev python-dev python3-pip
RUN python -m pip install dbt-core dbt-postgres

ADD /honey-tracker /app/honey-tracker
Expand Down

0 comments on commit 2c6ee4e

Please sign in to comment.