mirror of
https://github.com/fbelavenuto/arpl.git
synced 2025-12-24 14:52:05 +08:00
Adding linux vanilla source to docker image
This commit is contained in:
@@ -11,7 +11,12 @@ RUN for V in ${PLATFORMS}; do \
|
||||
mkdir "/opt/${PLATFORM}" && \
|
||||
tar -xaf "/cache/ds.${PLATFORM}-${TOOLKIT_VER}.dev.txz" -C "/opt/${PLATFORM}" --strip-components=10 \
|
||||
"usr/local/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/sys-root/usr/lib/modules/DSM-7.0/build" && \
|
||||
echo -e "${PLATFORM}\t${KVER}" >> /opt/platforms; \
|
||||
echo -e "${PLATFORM}\t${KVER}" >> /opt/platforms && \
|
||||
if [ ! -d "/opt/linux-${KVER}" ]; then \
|
||||
mkdir "/opt/linux-${KVER}" && \
|
||||
echo "Extracting linux-${KVER}.tar.xz" && \
|
||||
tar -xaf "/cache/linux-${KVER}.tar.xz" -C "/opt/linux-${KVER}" --strip-components=1; \
|
||||
fi; \
|
||||
done; \
|
||||
done
|
||||
|
||||
@@ -22,7 +27,7 @@ ENV SHELL=/bin/bash \
|
||||
|
||||
RUN apt update --yes && \
|
||||
apt install --yes --no-install-recommends --no-install-suggests \
|
||||
build-essential nano make ncurses-dev && \
|
||||
build-essential nano make ncurses-dev bc libssl-dev && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user