Address shellcheck warnings

This commit is contained in:
Cyb3r-Jak3 2024-09-09 17:45:48 -04:00
parent e471edd93a
commit 3f762da1e6
No known key found for this signature in database
11 changed files with 68 additions and 34 deletions

View file

@ -1,16 +1,24 @@
FROM ubuntu:jammy
FROM --platform=${BUILDPLATFORM} ubuntu:noble
LABEL maintainer="Xiaonan Shen <s@sxn.dev>"
EXPOSE 25/tcp
EXPOSE 143/tcp
RUN --mount=target=/var/lib/apt/lists,type=cache,sharing=locked \
--mount=target=/var/cache/apt,type=cache,sharing=locked \
rm -f /etc/apt/apt.conf.d/docker-clean \
&& apt-get update \
&& apt-get upgrade -y \
&& apt-get -y --no-install-recommends install \
libc6
libc6 \
socat \
pass \
ca-certificates \
wget \
binutils \
xz-utils \
libsecret-1-0 \
libgl1
WORKDIR /protonmail