Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Fixed sensor lib location and version #93

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sensor/Dockerfile.template
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
FROM balenalib/%%BALENA_MACHINE_NAME%%-python:3-build

ARG BSEC_FILENAME=BSEC_1.4.7.4_Generic_Release.zip
ARG BSEC_FILENAME=bsec_1-4-8-0_generic_release.zip

RUN install_packages \
unzip

WORKDIR /usr/src/app
RUN git clone https://github.com/balena-io-playground/bsec_bme680_linux.git
RUN wget https://ae-bst.resource.bosch.com/media/_tech/media/bsec/$BSEC_FILENAME
RUN wget https://www.bosch-sensortec.com/media/boschsensortec/downloads/bsec/$BSEC_FILENAME
RUN unzip -d bsec_bme680_linux/src $BSEC_FILENAME
RUN echo $BSEC_FILENAME > version

Expand Down