mirror of
https://github.com/miniflux/v2.git
synced 2024-08-20 03:13:22 +02:00
Error seen on GitHub Actions: ``` -buildmode=pie requires external (cgo) linking, but cgo is not enabled ```
14 lines
303 B
Docker
14 lines
303 B
Docker
ARG BASE_IMAGE_ARCH="amd64"
|
|
|
|
FROM ${BASE_IMAGE_ARCH}/golang:1.22-bookworm AS build
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
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"]
|