fix and cpputest pre add
This commit is contained in:
parent
f4aeaf838f
commit
ef720385f2
20
dockerfile
20
dockerfile
@ -6,18 +6,22 @@ WORKDIR /app
|
|||||||
COPY . /app
|
COPY . /app
|
||||||
|
|
||||||
# Устанавливаем необходимые зависимости
|
# Устанавливаем необходимые зависимости
|
||||||
RUN apt-get update && apt-get upgrade
|
RUN apt-get update
|
||||||
|
RUN apt-get upgrade
|
||||||
|
|
||||||
RUN ./scipts/cppcheck/cppcheck-install.sh
|
#RUN ./scipts/cppcheck-install.sh
|
||||||
RUN ./scipts/gcc-arm/arm-none-edabi-install.sh
|
#RUN ./scipts/arm-none-edabi-install.sh
|
||||||
RUN ./scipts/doxygen/doxygen-install.sh
|
#RUN ./scipts/doxygen-install.sh
|
||||||
RUN apt-get -y install openocd #последня версия в репе
|
RUN ./scipts/cpputest-install.sh
|
||||||
RUN apt-get -y install make #не последняя но нормально
|
#RUN apt-get -y install openocd #последня версия в репе
|
||||||
RUN apt-get -y install stlink-tools #не последняя но нормально
|
#RUN apt-get -y install make #не последняя но нормально
|
||||||
RUN apt-get -y install graphviz #для doxygen
|
#RUN apt-get -y install stlink-tools #не последняя но нормально
|
||||||
|
#RUN apt-get -y install graphviz #для doxygen
|
||||||
|
|
||||||
# Применение изменений PATH
|
# Применение изменений PATH
|
||||||
RUN echo "source ~/.bashrc" >> ~/.profile
|
RUN echo "source ~/.bashrc" >> ~/.profile
|
||||||
|
|
||||||
|
RUN ./tools_vesion_check.sh
|
||||||
|
|
||||||
# Запускаем Bash, чтобы контейнер оставался активным
|
# Запускаем Bash, чтобы контейнер оставался активным
|
||||||
CMD ["bash", "-c", "while true; do sleep 1000; done"]
|
CMD ["bash", "-c", "while true; do sleep 1000; done"]
|
||||||
|
8
scipts/cpputest-install.sh
Executable file
8
scipts/cpputest-install.sh
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
apt-get install -y g++ make git autoconf
|
||||||
|
git clone https://github.com/cpputest/cpputest.git
|
||||||
|
cd cpputest
|
||||||
|
mkdir cpputest_build
|
||||||
|
cd cpputest_build
|
||||||
|
autoreconf .. -i
|
||||||
|
../configure
|
||||||
|
make
|
Loading…
Reference in New Issue
Block a user