File tree 3 files changed +8
-6
lines changed
3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1
1
target /*
2
+ .rust /*
Original file line number Diff line number Diff line change 1
1
FROM rust:1.66.0-buster
2
2
3
- # required by bingen
4
3
RUN apt-get update && \
5
4
apt-get install -y \
6
5
build-essential \
7
6
cmake \
8
7
clang \
9
8
libclang-dev \
10
9
llvm-dev \
11
- git && \
10
+ git \
11
+ protobuf-compiler && \
12
12
apt-get clean
13
13
14
+ RUN rustup component add rustfmt clippy
14
15
RUN rustup target add armv5te-unknown-linux-gnueabi
15
16
RUN rustup target add arm-unknown-linux-gnueabihf
16
17
RUN cargo install cargo-bitbake
17
18
18
- RUN mkdir -p /tmp
19
- RUN cd /tmp && git clone https://github.com/seife/opkg-utils.git && cd /tmp/opkg-utils && PREFIX=/usr make install
19
+ # Install opkg-utils
20
+ RUN git clone git://git.yoctoproject.org/opkg-utils /opt/opkg-utils && \
21
+ cd /opt/opkg-utils && \
22
+ make install
20
23
21
24
ENV LLVM_CONFIG_PATH=llvm-config
22
25
ENV PROJECT_PATH=/chirpstack-udp-forwarder
Original file line number Diff line number Diff line change 1
- VERSION := $(shell git describe --always |sed -e "s/^v//")
2
-
3
1
devshell :
4
2
docker-compose run --rm chirpstack-udp-forwarder bash
5
3
You can’t perform that action at this time.
0 commit comments