17 lines
532 B
Text
17 lines
532 B
Text
# SPDX-FileCopyrightText: 2023 Tobias Schmidl
|
|
#
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
FROM debian:stable-slim
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
ARG GIT_COMMIT
|
|
LABEL org.opencontainers.image.licenses="AGPL-3.0-or-later" \
|
|
org.opencontainers.image.base.name="docker.io/debian:stable-slim" \
|
|
org.opencontainers.image.title=buildimage
|
|
LABEL org.opencontainers.image.revision=${GIT_COMMIT}
|
|
|
|
RUN apt update \
|
|
&& apt install --assume-yes --no-install-recommends \
|
|
build-essential \
|
|
&& find /var/lib/apt -type f -delete
|