diff --git a/.docker_run.sh.swp b/.docker_run.sh.swp deleted file mode 100644 index d655d87..0000000 Binary files a/.docker_run.sh.swp and /dev/null differ diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..249a439 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.docker_run.sh.swp diff --git a/dockerfile b/dockerfile index 3b4ed17..acdee44 100644 --- a/dockerfile +++ b/dockerfile @@ -16,7 +16,8 @@ RUN apt-get -y install make #не последняя но нормально RUN apt-get -y install stlink-tools #не последняя но нормально RUN apt-get -y install graphviz #для doxygen - +# Применение изменений PATH +RUN echo "source ~/.bashrc" >> ~/.profile # Запускаем Bash, чтобы контейнер оставался активным CMD ["bash", "-c", "while true; do sleep 1000; done"] diff --git a/scipts/doxygen/doxygen-install.sh b/scipts/doxygen/doxygen-install.sh index dd7a15f..52feb5d 100755 --- a/scipts/doxygen/doxygen-install.sh +++ b/scipts/doxygen/doxygen-install.sh @@ -2,4 +2,4 @@ apt-get install -y wget tar bzip2 wget https://www.doxygen.nl/files/doxygen-1.11.0.linux.bin.tar.gz tar -xvf ./doxygen-1.11.0.linux.bin.tar.gz rm ./doxygen-1.11.0.linux.bin.tar.gz -echo "export PATH=$PATH:./doxygen-1.11.0/bin/" >> ~/.bashrc \ No newline at end of file +echo "export PATH=\$PATH:./doxygen-1.11.0/bin/" >> ~/.bashrc diff --git a/scipts/gcc-arm/arm-none-edabi-install.sh b/scipts/gcc-arm/arm-none-edabi-install.sh index 593463f..4fab109 100755 --- a/scipts/gcc-arm/arm-none-edabi-install.sh +++ b/scipts/gcc-arm/arm-none-edabi-install.sh @@ -2,4 +2,4 @@ apt-get install -y wget tar bzip2 wget "https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.10/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2" tar -jxf ./*.tar.bz2 rm ./*.tar.bz2 -echo "export PATH=$PATH:./gcc-arm-none-eabi-10.3-2021.10/bin/" >> ~/.bashrc +echo "export PATH=\$PATH:./gcc-arm-none-eabi-10.3-2021.10/bin/" >> ~/.bashrc