Avoid installing recommended packages.

This commit is contained in:
tecnovert 2024-10-14 10:31:48 +02:00
parent ed7b172e0f
commit a9908a33a3
3 changed files with 7 additions and 5 deletions

View file

@ -5,7 +5,8 @@ ENV LANG=C.UTF-8 \
DATADIRS="/coindata"
RUN apt-get update; \
apt-get install -y python3-pip pkg-config gosu tzdata;
apt-get install -y --no-install-recommends \
python3-pip libpython3-dev gnupg pkg-config gcc libc-dev gosu tzdata;
# Install requirements first so as to skip in subsequent rebuilds
COPY ./requirements.txt requirements.txt

View file

@ -120,7 +120,7 @@ Windows key + R -> "wsl" -> Enter
Install Git:
sudo apt update
sudo apt install git
sudo apt install --no-install-recommends git
Download the BasicSwap code:
@ -140,7 +140,7 @@ Continue from the [Run Using Docker](#run-using-docker) section.
### Ubuntu Setup:
apt-get install -y git python3-venv python3-pip pkg-config curl jq
apt-get install --no-install-recommends git python3-venv libpython3-dev gnupg pkg-config gcc libc-dev curl jq
### OSX Setup:
@ -150,7 +150,7 @@ Install Homebrew (See https://brew.sh/):
Dependencies:
brew install python git pkg-config curl jq
brew install python git gnupg pkg-config jq
Close the terminal and open a new one to update the python symlinks.

View file

@ -5,7 +5,8 @@ ENV LANG=C.UTF-8 \
DATADIR=/data
RUN apt-get update; \
apt-get install -y python3-pip unzip pkg-config gosu tzdata;
apt-get install -y --no-install-recommends \
python3-pip libpython3-dev gnupg pkg-config gcc libc-dev gosu tzdata;
ARG BASICSWAP_URL=https://github.com/basicswap/basicswap/archive/master.zip
ARG BASICSWAP_DIR=basicswap-master