Push code
This commit is contained in:
33
Dockerfile.debian-builder
Normal file
33
Dockerfile.debian-builder
Normal file
@@ -0,0 +1,33 @@
|
||||
# Dockerfile.debian-builder
|
||||
# Debian-based container for building .deb packages from pre-built Go binaries
|
||||
#
|
||||
# This image contains only Debian packaging tools - NO build tools like gcc or golang.
|
||||
# The Go binaries are built on the Fedora host and mounted into this container.
|
||||
|
||||
FROM debian:bookworm-slim
|
||||
|
||||
LABEL maintainer="Steven Tracey <steven@rvits.net>"
|
||||
LABEL description="FeatherDDNS Debian package builder"
|
||||
|
||||
# Install Debian packaging tools only (no build toolchain)
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
debhelper \
|
||||
devscripts \
|
||||
dpkg-dev \
|
||||
fakeroot \
|
||||
lintian \
|
||||
gzip \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Create working directories
|
||||
RUN mkdir -p /build /dist
|
||||
|
||||
# Set working directory
|
||||
WORKDIR /build
|
||||
|
||||
# Run as root for packaging operations (writing to mounted volumes)
|
||||
# This is safe since we're only packaging pre-built binaries
|
||||
|
||||
# Default command shows help
|
||||
CMD ["echo", "Use: podman run ... debian-builder /build/scripts/build-deb.sh"]
|
||||
Reference in New Issue
Block a user