add dfu util to container, enable usb in container (#229)

* add dfu util to container, enable usb in container
* add DFU_SERIAL env
This commit is contained in:
coreglitch
2020-11-10 22:42:18 +06:00
committed by GitHub
parent b3dddc645d
commit 748f7e4fc3
3 changed files with 9 additions and 2 deletions

View File

@@ -59,6 +59,13 @@ RUN apt update && \
wget http://mirrors.kernel.org/ubuntu/pool/universe/g/gdb-arm-none-eabi/gdb-arm-none-eabi_7.10-1ubuntu3+9_amd64.deb && \
dpkg -i gdb-arm-none-eabi_7.10-1ubuntu3+9_amd64.deb
# dfu-util
RUN apt update && \
apt install -y --no-install-recommends \
dfu-util \
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
COPY entrypoint.sh syntax_check.sh /
RUN chmod +x /syntax_check.sh