aboutsummaryrefslogtreecommitdiff
path: root/portable/Dockerfile
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2024-02-23 12:41:22 -0500
committerGitHub <noreply@github.com>2024-02-23 12:41:22 -0500
commit0631c2d5546f49922dff17143acc4d949fae0e86 (patch)
tree4e38113afed2d057ee1d9140d77fee9d44ce1000 /portable/Dockerfile
parentUpdate repository script to use BASEDIR (diff)
parentApply suggestions (diff)
downloadjellyfin-packaging-0631c2d5546f49922dff17143acc4d949fae0e86.tar.gz
jellyfin-packaging-0631c2d5546f49922dff17143acc4d949fae0e86.tar.bz2
jellyfin-packaging-0631c2d5546f49922dff17143acc4d949fae0e86.zip
Merge pull request #1 from Gauvino/master
Refactor jellyfin-packaging
Diffstat (limited to 'portable/Dockerfile')
-rw-r--r--portable/Dockerfile23
1 files changed, 20 insertions, 3 deletions
diff --git a/portable/Dockerfile b/portable/Dockerfile
index afe33d7..a2fd069 100644
--- a/portable/Dockerfile
+++ b/portable/Dockerfile
@@ -25,9 +25,20 @@ ENV ARCHIVE_TYPES=targz
RUN apt-get update -y \
&& DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC \
apt-get install --no-install-recommends -y \
- wget debhelper gnupg devscripts build-essential mmv lsb-release zip \
- libssl*.* liblttng-ust* \
- libfontconfig*-dev libcurl*openssl-dev libfreetype*-dev libssl-dev \
+ wget \
+ debhelper \
+ gnupg \
+ devscripts \
+ build-essential \
+ mmv \
+ lsb-release\
+ zip \
+ libssl*.* \
+ liblttng-ust*\
+ libssl-dev \
+ libfontconfig*-dev \
+ libcurl*openssl-dev \
+ libfreetype*-dev \
&& apt-get clean autoclean -y \
&& apt-get autoremove -y \
&& rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/*
@@ -46,6 +57,12 @@ RUN wget https://deb.nodesource.com/setup_${NODEJS_VERSION}.x -O nodejs-install.
&& apt-get install -y \
nodejs
+# Clean up dependencies
+RUN apt-get remove wget -y \
+ && apt-get clean autoclean -y \
+ && apt-get autoremove -y \
+ && rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/*
+
# Link to build script
RUN ln -sf ${SOURCE_DIR}/portable/build.sh /build.sh
bgstack15