forked from lxgr-linux/pokete
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile.armhf
55 lines (47 loc) · 1.31 KB
/
Dockerfile.armhf
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
45
46
47
48
49
50
51
52
53
54
55
# Pull base image.
FROM jlesage/baseimage-gui:alpine-3.15-v4.0.0-pre.4
# Define working directory.
WORKDIR /app
# Define mountable directories.
VOLUME /app/data
# Install extra packages.
RUN \
add-pkg \
xterm \
py3-pip \
font-misc-misc \
python3-dev \
#py3-gst \
#gobject-introspection-dev \
#cairo-dev \
#build-base \
# The following package is used to send key presses to the X process.
xdotool
#install scrap_engine pre req
RUN python3 -m pip install wheel scrap_engine
#playsound pygobject
RUN \
del-pkg \
#gobject-introspection-dev \
py3-pip
#cairo-dev \
#build-base
# Set environment variables.
ENV APP_NAME="PoketeWeb"
ENV UNAME abc
ENV UID 1000
ENV GID 1000
RUN groupadd -g $GID -o $UNAME
RUN useradd -m -u $UID -g $GID -o -s /bin/sh $UNAME
RUN chown -R abc:abc /app
COPY startapp.sh /startapp.sh
RUN chmod +x /startapp.sh
# Add files.
COPY --chown=abc:abc . .
# Metadata.
#LABEL \
# org.label-schema.name="poketeweb" \
# org.label-schema.description="Docker container for poketeweb" \
# org.label-schema.version="$DOCKER_IMAGE_VERSION" \
# org.label-schema.vcs-url="https://github.com/anothervictimofsurvivalinstinct/pokete-web" \
# org.label-schema.schema-version="1.0"