Closed machawk1 closed 3 years ago
These include the characters 🕒 and ❗, among others.
Installing ttf-ancient-fonts while in the container fixes this.
Oddly, when I add this dependency to the Dockerfile, the docker build execution fails:
% docker build -t machawk1/wail . [+] Building 3.3s (8/15) => [internal] load build definition from Dockerfile 0.1s => => transferring dockerfile: 1.50kB 0.1s => [internal] load .dockerignore 0.0s => => transferring context: 34B 0.0s => [internal] load metadata for docker.io/library/ubuntu:18.10 1.0s => [auth] library/ubuntu:pull token for registry-1.docker.io 0.0s => [internal] load build context 0.8s => => transferring context: 585.11kB 0.8s => [ 1/10] FROM docker.io/library/ubuntu:18.10@sha256:7d657275047118bb77b052c4c0ae43e8a289ca2879ebfa78a703c93aa8fd686c 0.0s => CACHED [ 2/10] RUN ln -snf /usr/share/zoneinfo/Europe/Minsk /etc/localtime && echo Europe/Minsk > /etc/timezone 0.0s => ERROR [ 3/10] RUN apt update && apt install -y apt-file git libgtk-3-0 2.1s ------ > [ 3/10] RUN apt update && apt install -y apt-file git libgtk-3-0 libnotify4 libsdl1.2debian libsm6 libxxf86vm1 python3 python3-pip x11vnc xvfb language-pack-en ttf-ancient-fonts && rm -rf /var/lib/apt/lists/*: #7 1.335 #7 1.335 WARNING: apt does not have a stable CLI interface. Use with caution in scripts. #7 1.335 #7 1.505 Ign:1 http://security.ubuntu.com/ubuntu cosmic-security InRelease #7 1.526 Err:2 http://security.ubuntu.com/ubuntu cosmic-security Release #7 1.526 404 Not Found [IP: 91.189.91.38 80] #7 1.596 Ign:3 http://archive.ubuntu.com/ubuntu cosmic InRelease #7 1.677 Ign:4 http://archive.ubuntu.com/ubuntu cosmic-updates InRelease #7 1.759 Ign:5 http://archive.ubuntu.com/ubuntu cosmic-backports InRelease #7 1.843 Err:6 http://archive.ubuntu.com/ubuntu cosmic Release #7 1.843 404 Not Found [IP: 91.189.88.142 80] #7 1.926 Err:7 http://archive.ubuntu.com/ubuntu cosmic-updates Release #7 1.926 404 Not Found [IP: 91.189.88.142 80] #7 2.009 Err:8 http://archive.ubuntu.com/ubuntu cosmic-backports Release #7 2.009 404 Not Found [IP: 91.189.88.142 80] #7 2.023 Reading package lists... #7 2.044 E: The repository 'http://security.ubuntu.com/ubuntu cosmic-security Release' does not have a Release file. #7 2.044 E: The repository 'http://archive.ubuntu.com/ubuntu cosmic Release' does not have a Release file. #7 2.044 E: The repository 'http://archive.ubuntu.com/ubuntu cosmic-updates Release' does not have a Release file. #7 2.044 E: The repository 'http://archive.ubuntu.com/ubuntu cosmic-backports Release' does not have a Release file. ------ executor failed running [/bin/sh -c apt update && apt install -y apt-file git libgtk-3-0 libnotify4 libsdl1.2debian libsm6 libxxf86vm1 python3 python3-pip x11vnc xvfb language-pack-en ttf-ancient-fonts && rm -rf /var/lib/apt/lists/*]: exit code: 100
This might instead be an issue of using a separate branch where Ubuntu 18 is still specified. I will merg in the Dockerfile from osagnostic
to the working branch, add the new dependency, and testing in the visual results in the container.
Adding the above dependency does generate a GUI with the symbols in-place.
Using identical commits, fairly easy to reproduce using the Docker instructions in the README.
Linux:
macOS: