Commit 01cc21f 1 parent a262c23 commit 01cc21f Copy full SHA for 01cc21f
File tree 1 file changed +11
-5
lines changed
1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 1
- ARG BUILD_TAG=3.10-jammy-build-20230328
2
- FROM balenalib/raspberrypi4-64-ubuntu-python:${BUILD_TAG} as userland
3
- RUN install_packages \
4
- cmake
1
+ ARG BASE_IMAGE=kumatea/tensorflow:2.4.1-py39
2
+
3
+ FROM --platform=linux/arm64/v8 ${BASE_IMAGE} as userland
4
+
5
+ RUN apt-get update && apt-get install -f -y \
6
+ cmake \
7
+ build-essential \
8
+ git \
9
+ sudo
5
10
6
11
RUN git clone \
7
12
https://github.com/msherman64/userland \
@@ -12,7 +17,7 @@ RUN ./buildme --aarch64
12
17
13
18
14
19
15
- FROM --platform=linux/arm64/v8 kumatea/tensorflow:2.4.1-py39 AS base
20
+ FROM --platform=linux/arm64/v8 ${BASE_IMAGE} AS base
16
21
17
22
18
23
WORKDIR foocars
@@ -50,6 +55,7 @@ COPY --from=cargenerator /foocars/cars/chiaracer /foocars/cars/chiaracer
50
55
# ENTRYPOINT ["python3"]
51
56
# ENTRYPOINT ["/bin/bash"]
52
57
COPY --from=userland /opt/vc/ /opt/vc/
58
+ ENV LD_LIBRARY_PATH=/opt/vc/lib
53
59
54
60
CMD ["/usr/local/bin/car_runner" ]
55
61
You can’t perform that action at this time.
0 commit comments