Skip to content

Commit

Permalink
Try reduce size
Browse files Browse the repository at this point in the history
  • Loading branch information
jirijakes committed Feb 3, 2024
1 parent 57bd74e commit 3f7586c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ci/Dockerfile.coldcard
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,17 @@ FROM python:3-slim
# Install required packages
RUN apt-get update
RUN apt-get install -y build-essential git python3 python3-pip libudev-dev gcc-arm-none-eabi libffi-dev swig libpcsclite-dev python-is-python3 autoconf libtool python3-venv pkg-config
RUN apt-get clean

# Prepare source code
RUN git clone --depth 1 --recursive -b 2024-01-18T1507-v6.2.2X https://github.com/Coldcard/firmware.git
WORKDIR /firmware/external/libngu/libs/bech32
RUN git apply ../../bech32.patch
WORKDIR /firmware
RUN git apply unix/linux_addr.patch
RUN rm -rf .git
RUN sed -i "/git/d" unix/Makefile
RUN sed -i "/git/d" external/libngu/Makefile

# Prepare virtual env
ENV VIRTUAL_ENV=/opt/venv
Expand Down

0 comments on commit 3f7586c

Please sign in to comment.