aboutsummaryrefslogtreecommitdiff
path: root/portable/Dockerfile
diff options
context:
space:
mode:
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