2020-10-19 06:17:54 +02:00
|
|
|
ARG BASE_IMAGE_ARCH="amd64"
|
|
|
|
|
2024-02-08 04:44:05 +01:00
|
|
|
FROM ${BASE_IMAGE_ARCH}/golang:1.22-bookworm AS build
|
2020-10-19 06:17:54 +02:00
|
|
|
|
2023-08-09 06:54:09 +02:00
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
2020-10-19 06:17:54 +02:00
|
|
|
|
|
|
|
RUN apt-get update -q && \
|
2023-08-09 06:54:09 +02:00
|
|
|
apt-get install -y -qq build-essential devscripts dh-make debhelper && \
|
2020-10-19 06:17:54 +02:00
|
|
|
mkdir -p /build/debian
|
|
|
|
|
|
|
|
ADD . /src
|
|
|
|
|
|
|
|
CMD ["/src/packaging/debian/build.sh"]
|