-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
28 lines (20 loc) · 860 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
ARG BASE_NAME=wayland-base-vivante
ARG IMAGE_ARCH=linux/arm64/v8
ARG IMAGE_TAG=3
ARG DOCKER_REGISTRY=torizon
ARG DEBIAN_FRONTEND=noninteractive
FROM --platform=$IMAGE_ARCH $DOCKER_REGISTRY/$BASE_NAME:$IMAGE_TAG
WORKDIR /home/torizon
#### Install GPU Drivers ####
RUN apt-get -y update && apt-get install -y --no-install-recommends \
imx-gpu-viv-wayland-dev \
&& apt-get clean && apt-get autoremove && rm -rf /var/lib/apt/lists/*
#### Install Python and other utilities ####
RUN apt-get -y update && apt-get install -y --no-install-recommends \
python3 python3-venv wget python3-pip python3-tk \
&& apt-get clean && apt-get autoremove && rm -rf /var/lib/apt/lists/*
RUN pip3 install --break-system-packages --no-cache-dir pysimplegui
ENV NO_AT_BRIDGE 1
COPY pysimplegui-example.py .
ENTRYPOINT ["python3"]
CMD ["pysimplegui-example.py"]