test by bot.

This commit is contained in:
licsber 2023-03-18 17:10:31 +08:00
parent 45cf494c7c
commit 6c6f1b8dd1

View File

@ -12,8 +12,6 @@ RUN echo $(nproc) && \
sed -i -e 's/^tar xf fa-toolchain/# tar xf fa-toolchain/g' install.sh && \ sed -i -e 's/^tar xf fa-toolchain/# tar xf fa-toolchain/g' install.sh && \
bash install.sh && \ bash install.sh && \
update-alternatives --install $(which python) python /usr/bin/python2.7 20 && \ update-alternatives --install $(which python) python /usr/bin/python2.7 20 && \
git config --global user.name 'licsber' && \
git config --global user.email 'bot@licsber.site' && \
git clone https://github.com/friendlyarm/repo && \ git clone https://github.com/friendlyarm/repo && \
cp repo/repo /usr/bin/ && \ cp repo/repo /usr/bin/ && \
mkdir -p ./artifact && \ mkdir -p ./artifact && \
@ -46,6 +44,8 @@ RUN git clone --depth=1 https://github.com/licsber/RockchipScripts.git && \
echo '. device/friendlyelec/rk3399/base.mk' >> .current_config.mk && \ echo '. device/friendlyelec/rk3399/base.mk' >> .current_config.mk && \
echo "TARGET_IMAGE_DIRNAME=${DIRNAME}" >> .current_config.mk && \ echo "TARGET_IMAGE_DIRNAME=${DIRNAME}" >> .current_config.mk && \
echo "TARGET_FRIENDLYWRT_CONFIG=${CONFIG}" >> .current_config.mk && \ echo "TARGET_FRIENDLYWRT_CONFIG=${CONFIG}" >> .current_config.mk && \
git config --global user.name 'licsber' && \
git config --global user.email 'bot@licsber.site' && \
DEBUG_DOT_CONFIG=1 ./build.sh friendlywrt DEBUG_DOT_CONFIG=1 ./build.sh friendlywrt
RUN cd friendlywrt && \ RUN cd friendlywrt && \