forked from fabianbees/breitbandmessung-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
38 lines (29 loc) · 1.23 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
# Pull base image.
FROM jlesage/baseimage-gui:ubuntu-22.04-v4.7.1
# Install packages
RUN apt update && apt dist-upgrade -yy && \
apt install -y apt-utils nano libatk1.0-0 libatk-bridge2.0-0 libgtk-3-0 libgbm-dev libxss1 libasound2 wget xterm libnss3 locales xdotool xclip && \
locale-gen de_DE.UTF-8 && \
rm -rf /var/cache/apt /var/lib/apt/lists
# Generate and install favicons.
# alternative logo: https://breitbandmessung.de/images/breitbandmessung-logo.png
RUN APP_ICON_URL=https://www.breitbandmessung.de/public/images/appicon-512.png && \
install_app_icon.sh "$APP_ICON_URL"
# Add files.
COPY rootfs/ /
# Set internal environment variables.
# see: https://download.breitbandmessung.de/bbm/
RUN \
set-cont-env APP_NAME "Breitbandmessung" && \
set-cont-env APP_VERSION "3.8.0" && \
set-cont-env APP_SHA256SUM "d2c9922eaf0f0301162bdc9fe067948d770a94a551a2a7dbfaa77cc37a6942a0" && \
set-cont-env DEBIAN_FRONTEND "noninteractive" && \
set-cont-env LANG "de_DE.UTF-8" && \
true
# Set public environment variables.
# Timezone can be overwritten via docker environment variable
ENV TZ=Europe/Berlin
# 1180x720 is absolute minimum
ENV DISPLAY_WIDTH "1280"
ENV DISPLAY_HEIGHT "768"
VOLUME /config/xdg/config/Breitbandmessung