-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
44 lines (33 loc) · 1.01 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
FROM debian:bullseye
ARG PYTHON_PACKAGE_VERSION
# Install pip3 and python3 with tk graphics
RUN apt-get update && \
apt-get install -y python3-tk python3-pip && \
apt-get clean
RUN pip3 install -U pip
# Install pi-top OS source
RUN apt-get update && \
apt-get install -y git && \
apt-get clean
RUN git clone https://github.com/pi-top/pi-topOS-Apt-Source.git && \
cd pi-topOS-Apt-Source && \
cp keys/* /usr/share/keyrings/ && \
usr/lib/pi-top-os-apt-installer/pi-top-apt-source-manager install pi-top-os && \
apt-get update && \
rm -rf /pi-topOS-Apt-Source
# Install pt-web-vnc
RUN apt-get update && \
apt-get install -y pt-web-vnc && \
apt-get clean
WORKDIR /further-link
COPY pyproject.toml setup.py setup.cfg MANIFEST.in ./
COPY debian debian
COPY LICENSE README.rst ./
COPY further_link further_link
RUN pip3 install .
ENV FURTHER_LINK_NOSSL=true
ENV PYTHONUNBUFFERED=1
ENV PYTHON_PACKAGE_VERSION=$PYTHON_PACKAGE_VERSION
EXPOSE 8028
EXPOSE 60100-60999
CMD [ "further-link" ]