Skip to content

Commit 11f255f

Browse files
committed
Update development environment.
1 parent ad09609 commit 11f255f

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
target/*
2+
.rust/*

Dockerfile-devel

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,25 @@
11
FROM rust:1.66.0-buster
22

3-
# required by bingen
43
RUN apt-get update && \
54
apt-get install -y \
65
build-essential \
76
cmake \
87
clang \
98
libclang-dev \
109
llvm-dev \
11-
git && \
10+
git \
11+
protobuf-compiler && \
1212
apt-get clean
1313

14+
RUN rustup component add rustfmt clippy
1415
RUN rustup target add armv5te-unknown-linux-gnueabi
1516
RUN rustup target add arm-unknown-linux-gnueabihf
1617
RUN cargo install cargo-bitbake
1718

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
2023

2124
ENV LLVM_CONFIG_PATH=llvm-config
2225
ENV PROJECT_PATH=/chirpstack-udp-forwarder

Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
VERSION := $(shell git describe --always |sed -e "s/^v//")
2-
31
devshell:
42
docker-compose run --rm chirpstack-udp-forwarder bash
53

0 commit comments

Comments
 (0)