Skip to content

Commit

Permalink
Install all dependencies in a single apt-get install command.
Browse files Browse the repository at this point in the history
  • Loading branch information
nuclearsandwich committed Nov 14, 2024
1 parent 9e7333a commit 4edf6f3
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions build.earth
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ SRC:
BUILD:
FUNCTION
ENV DEBIAN_FRONTEND=noninteractive
# Build deps
RUN apt-get update; apt-get install -y debhelper dh-python python3-all python3-pip
# Install deps
RUN apt-get update; apt-get install -y python3-requests apt-file
# Test deps
RUN apt-get update; apt-get install -y libpq-dev python3-all-dev
RUN apt-get update; apt-get install -y \
# Build deps \
debhelper dh-python python3-all python3-pip \
# Install deps \
python3-requests apt-file \
# Test deps \
libpq-dev python3-all-dev

DO +SRC
RUN python3 setup.py --command-packages=stdeb.command bdist_deb
Expand Down

0 comments on commit 4edf6f3

Please sign in to comment.