Skip to content

Commit

Permalink
docker: Fix fontforge problem
Browse files Browse the repository at this point in the history
[why]
The docker image can not start fontforge:
  Error relocating /usr/bin/fontforge: FindProgRoot: symbol not found

[how]
The problem might be that we base on the 'latest' Alpine container, but
install a edge fontforge.

If I see this correct:
https://hub.docker.com/_/alpine/tags

'latest' is the same as latest-stable. Probably we should use a matching
apk repo.

Fixes: #1042 (maybe, need to push to test)

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
  • Loading branch information
Finii committed Jan 10, 2023
1 parent 8bcd7d9 commit 9514cbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LABEL org.opencontainers.image.title="Nerd Fonts Patcher" \
org.opencontainers.image.source="https://github.com/ryanoasis/nerd-fonts" \
org.opencontainers.image.licenses="MIT"

RUN apk update && apk upgrade && apk add --no-cache fontforge --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community && \
RUN apk update && apk upgrade && apk add --no-cache fontforge --repository=https://dl-cdn.alpinelinux.org/alpine/latest-stable/community && \
apk add --no-cache py3-pip && \
pip install configparser

Expand Down

0 comments on commit 9514cbc

Please # to comment.