Skip to content

Commit 6c00a88

Browse files
authored
fix(cluster): add openssl package to cluster image (#137)
The entrypoint script uses 'openssl rand -hex 32' to generate the SSH handshake secret (added in c6919aa), but the rancher/k3s base image does not include openssl. This causes the container to exit with code 127 immediately on startup. Fixes #136
1 parent 29876c0 commit 6c00a88

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

deploy/docker/Dockerfile.cluster

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
ARG K3S_VERSION=v1.29.8-k3s1
1919
FROM rancher/k3s:${K3S_VERSION}
2020

21+
# Install openssl (used by entrypoint to generate SSH handshake secret)
22+
RUN apk add --no-cache openssl
23+
2124
# Create directories for manifests, charts, and configuration
2225
RUN mkdir -p /var/lib/rancher/k3s/server/manifests \
2326
/var/lib/rancher/k3s/server/static/charts \

0 commit comments

Comments
 (0)