2020-10-19 06:17:54 +02:00
|
|
|
ARG BASE_IMAGE_ARCH="amd64"
|
|
|
|
|
2023-08-09 06:54:09 +02:00
|
|
|
FROM ${BASE_IMAGE_ARCH}/golang:bookworm AS build
|
2020-10-19 06:17:54 +02:00
|
|
|
|
2023-08-09 06:54:09 +02:00
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
ENV CGO_ENABLED=0
|
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"]
|