2023-09-07 11:53:18 +02:00
|
|
|
# SPDX-FileCopyrightText: 2023 Tobias Schmidl
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
|
2023-09-07 13:31:36 +02:00
|
|
|
FROM debian:bullseye-slim
|
2023-09-07 11:53:18 +02:00
|
|
|
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
LABEL org.opencontainers.image.licenses="AGPL-3.0-or-later" \
|
2023-09-07 13:31:36 +02:00
|
|
|
org.opencontainers.image.base.name="docker.io/debian:bullseye-slim" \
|
2023-09-22 08:34:50 +02:00
|
|
|
org.opencontainers.image.title=buildimage
|
2023-09-07 12:32:05 +02:00
|
|
|
|
2023-09-13 17:24:52 +02:00
|
|
|
# editorconfig-checker-disable
|
|
|
|
|
2023-09-22 08:56:08 +02:00
|
|
|
RUN apt-get --quiet update \
|
|
|
|
&& apt-get install --assume-yes --no-install-recommends --quiet \
|
2023-09-07 11:53:18 +02:00
|
|
|
build-essential \
|
2023-09-07 13:31:36 +02:00
|
|
|
dpkg-sig \
|
2023-09-07 12:32:05 +02:00
|
|
|
git \
|
2023-09-22 08:56:08 +02:00
|
|
|
ripgrep \
|
2023-09-07 11:53:18 +02:00
|
|
|
&& find /var/lib/apt -type f -delete
|
2023-09-07 12:32:05 +02:00
|
|
|
|
2023-09-13 17:24:52 +02:00
|
|
|
# editorconfig-checker-enable
|
|
|
|
|
2023-09-07 13:36:10 +02:00
|
|
|
RUN useradd -rm builder
|
|
|
|
|
|
|
|
USER builder
|
|
|
|
|
2023-09-07 12:32:05 +02:00
|
|
|
WORKDIR /workdir
|