moved to bullseye-slim as base image, added dpkg-sig

This commit is contained in:
Tobias Schmidl 2023-09-07 13:31:36 +02:00
parent 6880d62a0f
commit e32ca8b9b0

View file

@ -2,14 +2,14 @@
# #
# SPDX-License-Identifier: AGPL-3.0-or-later # SPDX-License-Identifier: AGPL-3.0-or-later
FROM debian:stable-slim FROM debian:bullseye-slim
ARG DEBIAN_FRONTEND=noninteractive ARG DEBIAN_FRONTEND=noninteractive
ARG GIT_COMMIT ARG GIT_COMMIT
ARG VERSION ARG VERSION
ARG TIMESTAMP ARG TIMESTAMP
LABEL org.opencontainers.image.licenses="AGPL-3.0-or-later" \ LABEL org.opencontainers.image.licenses="AGPL-3.0-or-later" \
org.opencontainers.image.base.name="docker.io/debian:stable-slim" \ org.opencontainers.image.base.name="docker.io/debian:bullseye-slim" \
org.opencontainers.image.title=buildimage \ org.opencontainers.image.title=buildimage \
org.opencontainers.image.source="https://git.schmidl.dev/schtobia/buildimage" \ org.opencontainers.image.source="https://git.schmidl.dev/schtobia/buildimage" \
org.opencontainers.image.url="https://git.schmidl.dev/schtobia/buildimage" org.opencontainers.image.url="https://git.schmidl.dev/schtobia/buildimage"
@ -21,6 +21,7 @@ LABEL org.opencontainers.image.created=${TIMESTAMP}
RUN apt update \ RUN apt update \
&& apt install --assume-yes --no-install-recommends \ && apt install --assume-yes --no-install-recommends \
build-essential \ build-essential \
dpkg-sig \
git \ git \
&& find /var/lib/apt -type f -delete && find /var/lib/apt -type f -delete