jlesage / docker-baseimage-gui

A minimal docker baseimage to ease creation of X graphical application containers
MIT License
1.2k stars 179 forks source link

Increase font size in xterm #107

Open voltagex opened 1 year ago

voltagex commented 1 year ago
FROM jlesage/baseimage-gui:alpine-3.18-v4

# Install xterm.
RUN add-pkg xterm font-terminus

# Copy the start script.
COPY startapp.sh /startapp.sh

ENV HOME=/config
RUN mkdir /config && echo "-*-terminus-bold-r-*-*-40-*-*-*-*-*-*-*" > /config/.Xresources
# Set the name of the application.
RUN set-cont-env APP_NAME "Xterm"

This seems to make the font smaller than not trying to set it at all.

Apologies if I've completely misunderstood how this works.