Skip to content

Commit 5fe8c4e

Browse files
rootcursoragent
andcommitted
Clean up duplicate packages and unused workflow env
Remove duplicate apt packages in the base install list, drop an unused workflow-level TAG_NAME env var, and trim minor whitespace so the build configuration stays lean and easier to maintain. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent bce7bc5 commit 5fe8c4e

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

.github/workflows/deploy-warewulf-rke2-hami.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,6 @@ on:
6767
permissions:
6868
contents: write
6969

70-
env:
71-
TAG_NAME: ${{ github.ref_name }}
72-
7370
jobs:
7471
build-and-push:
7572
name: Build & Push RKE2-HAMi Node Image

dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ RUN apt-get update && apt-get install -y \
7373
jq \
7474
git \
7575
iputils-ping \
76-
gnupg \
7776
lsb-release \
7877
bash-completion \
7978
bpfcc-tools \
@@ -84,7 +83,6 @@ RUN apt-get update && apt-get install -y \
8483
gnupg-agent \
8584
ignition \
8685
gdisk \
87-
systemd \
8886
rsyslog \
8987
logrotate \
9088
systemd-journal-remote \
@@ -314,7 +312,7 @@ RUN if [ "$FIRSTBOOT_ENABLED" = "true" ]; then \
314312
ENV PATH="/var/lib/rancher/rke2/bin:${PATH}"
315313

316314
RUN mkdir -p /etc/systemd/system && \
317-
mkdir -p /etc/rancher/rke2/
315+
mkdir -p /etc/rancher/rke2/
318316

319317
# --- Ensure runtime dirs exist on boot ---
320318
# On Warewulf nodes /var/log is frequently tmpfs, so anything chowned/chmodded

0 commit comments

Comments
 (0)