forked from linuxserver/docker-calibre
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
51 lines (41 loc) · 1.24 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
39
40
41
42
43
44
45
46
47
48
49
50
FROM ghcr.io/linuxserver/baseimage-rdesktop-web:focal
# set version label
ARG BUILD_DATE
ARG VERSION
#ARG CALIBRE_RELEASE
#LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="Lockszmith"
ENV \
CUSTOM_PORT="8080" \
GUIAUTOSTART="true" \
HOME="/config"
RUN \
echo "**** install runtime packages ****" \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
git xclip
# Default fonts
ENV NNG_URL="https://github.com/google/fonts/raw/master/ofl/nanumgothic/NanumGothic-Regular.ttf" \
SCP_URL="https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/1.050R-it.tar.gz"
RUN echo "**** Setup fonts ****" \
&& apt-get install -y --no-install-recommends \
wget \
&& mkdir -p /usr/share/fonts \
&& wget -qO- "${SCP_URL}" | tar xz -C /usr/share/fonts \
&& wget -q "${NNG_URL}" -P /usr/share/fonts \
&& fc-cache -fv || true
RUN \
echo "**** cleanup ****" \
&& apt-get remove -y wget \
&& apt-get clean \
&& rm -rf \
/tmp/* \
/var/lib/apt/lists/* \
/var/tmp/*
# add local files
COPY root/ /
# Setup Volume mount points
VOLUME /config/data
# RUN \
# echo "**** initialize static storage ****" \
# && git clone ....