Skip to content

Commit

Permalink
Add protobuf-compiler to crossbuild intermediate containers
Browse files Browse the repository at this point in the history
Needed by project-akri#593

Signed-off-by: Nicolas Belouin <[email protected]>
  • Loading branch information
diconico07 committed Apr 27, 2023
1 parent 629bb54 commit de9178f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ FROM rustembedded/cross:x86_64-unknown-linux-gnu-0.1.16
RUN apt-get update && \
apt-get install -y --no-install-recommends pkg-config \
g++ ca-certificates curl libssl-dev \
libv4l-dev libudev-dev
libv4l-dev libudev-dev protobuf-compiler

# Link the container to the Akri repository
LABEL org.opencontainers.image.source https://github.com/project-akri/akri
LABEL org.opencontainers.image.source https://github.com/project-akri/akri
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN sed -i 's/^deb h'/'deb [arch=amd64,i386] h/' /etc/apt/sources.list && \
apt-get update && \
apt-get install -y --no-install-recommends pkg-config:armhf \
g++ ca-certificates curl libssl-dev:armhf \
libv4l-dev:armhf libudev-dev:armhf
libv4l-dev:armhf libudev-dev:armhf protobuf-compiler:armhf

# Link the container to the Akri repository
LABEL org.opencontainers.image.source https://github.com/project-akri/akri
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN sed -i 's/^deb h'/'deb [arch=amd64,i386] h/' /etc/apt/sources.list && \
apt-get update && \
apt-get install -y --no-install-recommends pkg-config:arm64 \
g++ ca-certificates curl libssl-dev:arm64 \
libv4l-dev:arm64 libudev-dev:arm64
libv4l-dev:arm64 libudev-dev:arm64 protobuf-compiler:arm64

# Link the container to the Akri repository
LABEL org.opencontainers.image.source https://github.com/project-akri/akri
LABEL org.opencontainers.image.source https://github.com/project-akri/akri
2 changes: 1 addition & 1 deletion build/intermediate-containers.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

BUILD_RUST_CROSSBUILD_VERSION = 0.0.7
BUILD_RUST_CROSSBUILD_VERSION = 0.0.8

BUILD_OPENCV_BASE_VERSION = 0.0.9

Expand Down

0 comments on commit de9178f

Please sign in to comment.