28 lines
662 B
Text
28 lines
662 B
Text
# SPDX-FileCopyrightText: 2023 Tobias Schmidl
|
|
#
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
FROM debian:bullseye-slim
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
LABEL org.opencontainers.image.licenses="AGPL-3.0-or-later" \
|
|
org.opencontainers.image.base.name="docker.io/debian:bullseye-slim" \
|
|
org.opencontainers.image.title=buildimage
|
|
|
|
# editorconfig-checker-disable
|
|
|
|
RUN apt-get --quiet update \
|
|
&& apt-get install --assume-yes --no-install-recommends --quiet \
|
|
build-essential \
|
|
dpkg-sig \
|
|
git \
|
|
ripgrep \
|
|
&& find /var/lib/apt -type f -delete
|
|
|
|
# editorconfig-checker-enable
|
|
|
|
RUN useradd -rm builder
|
|
|
|
USER builder
|
|
|
|
WORKDIR /workdir
|