updates to dockerfile

This commit is contained in:
Jaromil 2021-08-10 10:57:33 +02:00
parent d2d35bc8db
commit 61a9d1a420

View File

@ -4,27 +4,28 @@
# This creates an Ubuntu derived base image and installs the tomb libarary # This creates an Ubuntu derived base image and installs the tomb libarary
# along with it's dependencies. # along with it's dependencies.
FROM ubuntu:bionic FROM dyne/devuan:beowulf
ARG DEBIAN_FRONTEND=noninteractive ARG DEBIAN_FRONTEND=noninteractive
ARG TOMB_VERSION=2.5 ARG TOMB_VERSION=2.9
# Install dependencies # Install dependencies
RUN apt-get update -y && \ RUN apt-get update -y && \
apt-get install -y \ apt-get install -y -q --no-install-recommends\
make \
sudo \ sudo \
curl \ curl \
rsync \ rsync \
build-essential \
gettext \
zsh \ zsh \
gnupg \ gnupg \
cryptsetup \ cryptsetup \
pinentry-curses \ pinentry-curses \
steghide steghide \
mlocate \
swish-e
# Build and install Tomb from remote repo # Build and install Tomb from remote repo
RUN curl https://files.dyne.org/tomb/Tomb-$TOMB_VERSION.tar.gz -o /tmp/Tomb-$TOMB_VERSION.tar.gz && \ RUN curl https://files.dyne.org/tomb/releases/Tomb-$TOMB_VERSION.tar.gz -o /tmp/Tomb-$TOMB_VERSION.tar.gz && \
cd /tmp && \ cd /tmp && \
tar -zxvf /tmp/Tomb-$TOMB_VERSION.tar.gz && \ tar -zxvf /tmp/Tomb-$TOMB_VERSION.tar.gz && \
cd /tmp/Tomb-$TOMB_VERSION && \ cd /tmp/Tomb-$TOMB_VERSION && \