Skip to content

Commit

Permalink
DOCKERFILE: use pip instead to install modules
Browse files Browse the repository at this point in the history
  • Loading branch information
Apaczer committed Nov 29, 2024
1 parent 3de6077 commit 18e6cbc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions Dockerfile-musl
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y libncurses-dev file make cmake gcc g++ \
file wget cpio zip unzip bzip2 rsync bc git \
dosfstools u-boot-tools \
python3-dev python3-pip swig meson \
python3-dev python3-pip swig \
vim-tiny && \
apt-get -y autoremove && apt-get -y clean
apt-get -y autoremove && apt-get -y clean && \
python3 -m pip install meson ninja && \
python3 -m pip cache purge
RUN cd /opt/miyoo && ./relocate-sdk.sh
# add safe directory to prevent dubious ownership error
RUN git config --system safe.directory '/__w/MiyooCFW/MiyooCFW'
6 changes: 4 additions & 2 deletions Dockerfile-uclibc
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y libncurses-dev file make cmake gcc g++ \
file wget cpio zip unzip bzip2 rsync bc git \
dosfstools u-boot-tools \
python3-dev python3-pip swig meson \
python3-dev python3-pip swig \
vim-tiny && \
apt-get -y autoremove && apt-get -y clean
apt-get -y autoremove && apt-get -y clean && \
python3 -m pip install meson ninja && \
python3 -m pip cache purge
RUN cd /opt/miyoo && ./relocate-sdk.sh
# add safe directory to prevent dubious ownership error
RUN git config --system safe.directory '/__w/MiyooCFW/MiyooCFW'

0 comments on commit 18e6cbc

Please sign in to comment.