14 lines
316 B
Docker
14 lines
316 B
Docker
ARG BASE_IMAGE_ARCH="amd64"
|
|
|
|
FROM ${BASE_IMAGE_ARCH}/golang:bookworm AS build
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
ENV CGO_ENABLED=0
|
|
|
|
RUN apt-get update -q && \
|
|
apt-get install -y -qq build-essential devscripts dh-make debhelper && \
|
|
mkdir -p /build/debian
|
|
|
|
ADD . /src
|
|
|
|
CMD ["/src/packaging/debian/build.sh"]
|