challenge: Revert one ttf font for fbi to work
This commit is contained in:
parent
9d59aabe4b
commit
f5bac225f0
@ -6,6 +6,7 @@ RUN mkdir -p /out/etc/apk/ && \
|
||||
|
||||
RUN apk add --no-cache \
|
||||
gcc \
|
||||
font-inconsolata \
|
||||
linux-headers \
|
||||
mandoc-apropos \
|
||||
musl-dev
|
||||
@ -68,9 +69,10 @@ RUN gcc -o /out/usr/bin/init-crypto /root/kp.c
|
||||
FROM scratch
|
||||
|
||||
COPY --from=mirror /out/ /
|
||||
COPY --from=mirror /usr/share/fonts/inconsolata/Inconsolata-Regular.otf /usr/share/fonts/inconsolata/Inconsolata-Regular.otf
|
||||
|
||||
COPY ssl/ec_cert.pem /usr/share/ca-certificates/nemunai.re/cert.pem
|
||||
COPY lib/ /lib/
|
||||
COPY passwd.sh /bin/passwd
|
||||
|
||||
RUN echo "nemunai.re/cert.pem" >> /etc/ca-certificates.conf && update-ca-certificates
|
||||
RUN echo "nemunai.re/cert.pem" >> /etc/ca-certificates.conf && update-ca-certificates && fc-cache -s
|
||||
|
Reference in New Issue
Block a user