Refactored Dockerfile

jmb-patch-1
Johannes Bülow 2023-09-18 18:41:55 +00:00
parent 8d802b8501
commit 18ae54b25c
1 changed files with 3 additions and 4 deletions

View File

@ -28,7 +28,7 @@ FROM ubuntu:20.04
LABEL description="REMnux® is a Linux toolkit for reverse-engineering and analyzing malicious software."
LABEL maintainer="Lenny Zeltser (@lennyzeltser, zeltser.com)"
LABEL version="v2023.9.1"
LABEL builder="Johannes Bülow <johannes.buelow@jmbit.de>"
ARG CAST_VER=0.14.0
USER root
@ -39,12 +39,11 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get install -y wget gnupg git && \
wget https://github.com/ekristen/cast/releases/download/v${CAST_VER}/cast_v${CAST_VER}_linux_amd64.deb && \
dpkg -i /tmp/cast_v${CAST_VER}_linux_amd64.deb && \
cast install --mode cloud --user remnux remnux && \
rm /tmp/cast_v${CAST_VER}_linux_amd64.deb
RUN cast install --mode cloud --user remnux remnux && \
rm -rf /root/.cache/* && \
unset DEBIAN_FRONTEND
RUN rm /tmp/cast_v${CAST_VER}_linux_amd64.deb
ENV TERM linux
WORKDIR /home/remnux