docker: replace mime-support package with media-types

This way the size of the slim image is similar to the previous buster
based images
This commit is contained in:
Nicola Murino
2021-09-07 21:04:46 +02:00
parent 90f64c9f63
commit b52f829f05
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ RUN sed -i "s|\"users_base_dir\": \"\",|\"users_base_dir\": \"/srv/sftpgo/data\"
sed -i "s|\"backups\"|\"/srv/sftpgo/backups\"|" sftpgo.json && \
sed -i "s|\"sqlite\"|\"bolt\"|" sftpgo.json
RUN apt-get update && apt-get install --no-install-recommends -y mime-support && rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install --no-install-recommends -y media-types && rm -rf /var/lib/apt/lists/*
RUN mkdir /etc/sftpgo /var/lib/sftpgo /srv/sftpgo