mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
Add dfu-util dep
This commit is contained in:
@@ -4,9 +4,9 @@ LABEL maintainer="Ben V. Brown <ralim@ralimtek.com>"
|
|||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
# Add extra mirrors for options
|
# Add extra mirrors for options
|
||||||
RUN echo "deb mirror://mirrors.ubuntu.com/mirrors.txt focal main restricted universe multiverse" > /etc/apt/sources.list && \
|
RUN echo "deb mirror://mirrors.ubuntu.com/mirrors.txt focal main restricted universe multiverse" > /etc/apt/sources.list && \
|
||||||
echo "deb mirror://mirrors.ubuntu.com/mirrors.txt focal-updates main restricted universe multiverse" >> /etc/apt/sources.list && \
|
echo "deb mirror://mirrors.ubuntu.com/mirrors.txt focal-updates main restricted universe multiverse" >> /etc/apt/sources.list && \
|
||||||
echo "deb mirror://mirrors.ubuntu.com/mirrors.txt focal-security main restricted universe multiverse" >> /etc/apt/sources.list && \
|
echo "deb mirror://mirrors.ubuntu.com/mirrors.txt focal-security main restricted universe multiverse" >> /etc/apt/sources.list && \
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get update
|
DEBIAN_FRONTEND=noninteractive apt-get update
|
||||||
# Install dependencies to build the firmware
|
# Install dependencies to build the firmware
|
||||||
RUN apt-get install -y \
|
RUN apt-get install -y \
|
||||||
make \
|
make \
|
||||||
@@ -15,6 +15,7 @@ RUN apt-get install -y \
|
|||||||
python3 \
|
python3 \
|
||||||
python3-pip \
|
python3-pip \
|
||||||
clang-format \
|
clang-format \
|
||||||
|
dfu-util \
|
||||||
wget --no-install-recommends && \
|
wget --no-install-recommends && \
|
||||||
apt-get clean
|
apt-get clean
|
||||||
RUN python3 -m pip install bdflib
|
RUN python3 -m pip install bdflib
|
||||||
|
|||||||
2
setup.sh
2
setup.sh
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
# Setup shell file to setup the environment on an ubuntu machine
|
# Setup shell file to setup the environment on an ubuntu machine
|
||||||
sudo apt-get update && sudo apt-get install -y make bzip2 git python3 python3-pip wget
|
sudo apt-get update && sudo apt-get install -y make bzip2 git python3 python3-pip wget dfu-util
|
||||||
python3 -m pip install bdflib black flake8
|
python3 -m pip install bdflib black flake8
|
||||||
sudo mkdir -p /build
|
sudo mkdir -p /build
|
||||||
cd /build
|
cd /build
|
||||||
|
|||||||
Reference in New Issue
Block a user