File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 11FROM resin/rpi-raspbian:latest
22
3+ RUN mkdir /opt/code
4+ WORKDIR /opt/code
5+
36# Install OS dependencies
47RUN echo "Installing OS package dependencies"
5- RUN ./scripts/install-linux
8+ COPY scripts /opt/code/scripts
9+ RUN /opt/code/scripts/install-linux
610
711# For bluez source compilation
812# RUN apt-get install automake libtool libudev-dev
913
1014# Install Python dependencies
11- RUN mkdir /opt/code
12- WORKDIR /opt/code
1315COPY requirements.txt requirements.txt
1416RUN pip3 install --upgrade pip
1517RUN pip3 install --upgrade setuptools
@@ -20,7 +22,6 @@ RUN pip3 install -r requirements_test.txt
2022# Copy source code and execute tests
2123COPY bluefang /opt/code/bluefang
2224COPY tests /opt/code/tests
23- COPY scripts /opt/code/scripts
2425# USER root
2526
2627# RUN python3 -m pytest
You can’t perform that action at this time.
0 commit comments