Point images at harbor
This commit is contained in:
+2
-2
@@ -172,8 +172,8 @@ source "qemu" "diskless" {
|
|||||||
disk_size = "12G"
|
disk_size = "12G"
|
||||||
format = "qcow2"
|
format = "qcow2"
|
||||||
accelerator = "kvm"
|
accelerator = "kvm"
|
||||||
memory = 4096
|
memory = 8192
|
||||||
cpus = 2
|
cpus = 4
|
||||||
headless = true
|
headless = true
|
||||||
vnc_bind_address = "0.0.0.0"
|
vnc_bind_address = "0.0.0.0"
|
||||||
qemuargs = [["-cpu", "host"],
|
qemuargs = [["-cpu", "host"],
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
# fleet serving stack. Booted hosts forward auditd + syslog here; records land
|
# fleet serving stack. Booted hosts forward auditd + syslog here; records land
|
||||||
# under /var/log/remote/<sender-ip>/. See rsyslog.conf + README.md.
|
# under /var/log/remote/<sender-ip>/. See rsyslog.conf + README.md.
|
||||||
|
|
||||||
FROM alpine:3.20
|
FROM harbor.bitasylum.org/dockerhub/library/alpine:3.20
|
||||||
|
|
||||||
RUN apk add --no-cache rsyslog tzdata \
|
RUN apk add --no-cache rsyslog tzdata \
|
||||||
&& mkdir -p /var/log/remote /var/spool/rsyslog
|
&& mkdir -p /var/log/remote /var/spool/rsyslog
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# host as their time source via DHCP option 42 (dnsmasq), so they never reach the
|
# host as their time source via DHCP option 42 (dnsmasq), so they never reach the
|
||||||
# public NTP pool (no workstation egress). Config is bind-mounted from
|
# public NTP pool (no workstation egress). Config is bind-mounted from
|
||||||
# chrony.conf in docker-compose.yml. Build our own so the version is pinned.
|
# chrony.conf in docker-compose.yml. Build our own so the version is pinned.
|
||||||
FROM alpine:3.20
|
FROM harbor.bitasylum.org/dockerhub/library/alpine:3.20
|
||||||
RUN apk add --no-cache chrony
|
RUN apk add --no-cache chrony
|
||||||
# -d: run in the foreground (don't daemonise) so the container stays up and logs
|
# -d: run in the foreground (don't daemonise) so the container stays up and logs
|
||||||
# to stdout for `docker compose logs`.
|
# to stdout for `docker compose logs`.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Minimal, reliable dnsmasq image (Hub dnsmasq images vary; build our own so
|
# Minimal, reliable dnsmasq image (Hub dnsmasq images vary; build our own so
|
||||||
# the version is pinned and the entrypoint is predictable). Config is passed
|
# the version is pinned and the entrypoint is predictable). Config is passed
|
||||||
# entirely as --flags from docker-compose.yml.
|
# entirely as --flags from docker-compose.yml.
|
||||||
FROM alpine:3.20
|
FROM harbor.bitasylum.org/dockerhub/library/alpine:3.20
|
||||||
RUN apk add --no-cache dnsmasq
|
RUN apk add --no-cache dnsmasq
|
||||||
ENTRYPOINT ["dnsmasq"]
|
ENTRYPOINT ["dnsmasq"]
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ services:
|
|||||||
|
|
||||||
# --- HTTP boot server (serves the UKI) -------------------------------------
|
# --- HTTP boot server (serves the UKI) -------------------------------------
|
||||||
http:
|
http:
|
||||||
image: nginx:stable
|
image: harbor.bitasylum.org/dockerhub/library/nginx:stable
|
||||||
network_mode: host # listens on :80 -> http://${SERVER_IP}/fleet-<ver>.efi
|
network_mode: host # listens on :80 -> http://${SERVER_IP}/fleet-<ver>.efi
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
# so this image only needs to serve the built assets at its own root.
|
# so this image only needs to serve the built assets at its own root.
|
||||||
|
|
||||||
# ---- build stage ----
|
# ---- build stage ----
|
||||||
FROM node:22-alpine AS build
|
FROM harbor.bitasylum.org/dockerhub/library/node:22-alpine AS build
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Install deps first for layer caching. package-lock.json is committed, so use
|
# Install deps first for layer caching. package-lock.json is committed, so use
|
||||||
@@ -18,7 +18,7 @@ COPY . .
|
|||||||
RUN npm run build # -> /app/dist (base path /kiosk/)
|
RUN npm run build # -> /app/dist (base path /kiosk/)
|
||||||
|
|
||||||
# ---- serve stage ----
|
# ---- serve stage ----
|
||||||
FROM nginx:stable-alpine
|
FROM harbor.bitasylum.org/dockerhub/library/nginx:stable-alpine
|
||||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||||
COPY --from=build /app/dist /usr/share/nginx/html
|
COPY --from=build /app/dist /usr/share/nginx/html
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
# (~10-20 min — it pulls submodules incl. DPDK and compiles them), but it's
|
# (~10-20 min — it pulls submodules incl. DPDK and compiles them), but it's
|
||||||
# self-contained, reproducible, and cached thereafter. Bump SPDK_VERSION to a
|
# self-contained, reproducible, and cached thereafter. Bump SPDK_VERSION to a
|
||||||
# tag from https://github.com/spdk/spdk/releases.
|
# tag from https://github.com/spdk/spdk/releases.
|
||||||
FROM ubuntu:24.04
|
FROM harbor.bitasylum.org/dockerhub/library/ubuntu:24.04
|
||||||
|
|
||||||
ARG SPDK_VERSION=v24.09
|
ARG SPDK_VERSION=v24.09
|
||||||
ARG SPDK_REPO=https://github.com/spdk/spdk
|
ARG SPDK_REPO=https://github.com/spdk/spdk
|
||||||
|
|||||||
Reference in New Issue
Block a user