Update libc6 to latest version

This commit is contained in:
Cyb3r-Jak3 2024-09-09 17:45:17 -04:00
parent f3da872c45
commit 0017df71a2
No known key found for this signature in database
2 changed files with 15 additions and 4 deletions

View File

@ -1,5 +1,5 @@
# Use carlosedp/golang for riscv64 support # Use carlosedp/golang for riscv64 support
FROM carlosedp/golang:1.18 AS build FROM golang:1.21-bookworm AS build
# Install dependencies # Install dependencies
RUN apt-get update && apt-get install -y git build-essential libsecret-1-dev RUN apt-get update && apt-get install -y git build-essential libsecret-1-dev
@ -16,9 +16,12 @@ EXPOSE 25/tcp
EXPOSE 143/tcp EXPOSE 143/tcp
# Install dependencies and protonmail bridge # Install dependencies and protonmail bridge
RUN apt-get update \ RUN --mount=target=/var/lib/apt/lists,type=cache,sharing=locked \
&& apt-get install -y --no-install-recommends socat pass libsecret-1-0 ca-certificates \ --mount=target=/var/cache/apt,type=cache,sharing=locked \
&& rm -rf /var/lib/apt/lists/* rm -f /etc/apt/apt.conf.d/docker-clean \
&& apt-get update \
&& apt-get -y --no-install-recommends install \
libc6 socat pass libsecret-1-0 ca-certificates
# Copy bash scripts # Copy bash scripts
COPY gpgparams entrypoint.sh /protonmail/ COPY gpgparams entrypoint.sh /protonmail/

View File

@ -4,6 +4,14 @@ LABEL maintainer="Xiaonan Shen <s@sxn.dev>"
EXPOSE 25/tcp EXPOSE 25/tcp
EXPOSE 143/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 -y --no-install-recommends install \
libc6
WORKDIR /protonmail WORKDIR /protonmail
# Copy bash scripts # Copy bash scripts