Skip to content

Commit

Permalink
make nproc, single RUN
Browse files Browse the repository at this point in the history
  • Loading branch information
rpatel3001 committed Mar 17, 2024
1 parent b499d95 commit e066d14
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ RUN set -x && \
apt-get update && \
apt-get install -y --no-install-recommends \
"${KEPT_PACKAGES[@]}" \
"${TEMP_PACKAGES[@]}" \
&& true

RUN set -x && \
"${TEMP_PACKAGES[@]}" && \
git clone https://github.com/altillimity/satdump.git /src/satdump && \
pushd /src/satdump && \
sed -i '/zenity/d' packages.runner && \
Expand All @@ -28,12 +25,9 @@ RUN set -x && \
mkdir build && \
pushd build && \
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_GUI=OFF -DBUILD_ZIQ=OFF .. && \
make && \
make -j`nproc` && \
make install && \
popd && popd && \
true

RUN set -x && \
xargs -a /src/satdump/packages.builder apt purge -qy && \
# Clean up
apt-get remove -y "${TEMP_PACKAGES[@]}" && \
Expand Down

0 comments on commit e066d14

Please sign in to comment.