feature: the package installs the Router Manager, which is no longer a package of its own.
Release / release (push) Failing after 4s
Release / release (push) Failing after 4s
This commit is contained in:
1 parent
6d90441bee
commit
8efe21bfa6
129 files changed
+17381
-104
No files matched your search
+33
@@ -0,0 +1,33 @@
|
||||
ARG NODE_VERSION=24
|
||||
ARG UBUNTU_VERSION=24.04
|
||||
|
||||
FROM node:${NODE_VERSION}-bookworm-slim AS web
|
||||
WORKDIR /web
|
||||
COPY web/package.json web/package-lock.json ./
|
||||
RUN npm ci
|
||||
COPY web/ ./
|
||||
RUN npm run build
|
||||
|
||||
FROM ubuntu:${UBUNTU_VERSION}
|
||||
ARG HOST_UID
|
||||
ARG HOST_GID
|
||||
|
||||
RUN apt-get update \
|
||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
||||
build-essential \
|
||||
dpkg-dev \
|
||||
debhelper \
|
||||
lintian \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /build
|
||||
COPY debian-package/ src/
|
||||
COPY docs/ src/docs/
|
||||
COPY --from=web /web/dist src/web/dist/
|
||||
RUN cd src && dpkg-buildpackage -us -uc -b
|
||||
|
||||
RUN lintian --no-tag-display-limit /build/*.changes || true
|
||||
|
||||
RUN mkdir /out \
|
||||
&& find /build -maxdepth 1 \( -name '*.deb' -o -name '*.buildinfo' -o -name '*.changes' \) \
|
||||
-exec install -o "$HOST_UID" -g "$HOST_GID" -m 0644 {} /out/ \;
|
||||
Reference in new issue
Block a user