From cc40c9b937fc5bfd7c29d2330daafcfcf95cfb28 Mon Sep 17 00:00:00 2001
From: Timo Furrer <tfurrer@gitlab.com>
Date: Wed, 22 May 2024 10:15:07 +0200
Subject: [PATCH] Only install openssh-client but not openssh-server

This change set solely installs openssh-client instead of openssh which
also installs openssh-server.
The before and after diff of `apk list` looks like the following:

```
diff before.apk-list after.apk-list
33d32
< openssh-9.6_p1-r0 aarch64 {openssh} (SSH-OpenSSH) [installed]
37,39d35
< openssh-server-9.6_p1-r0 aarch64 {openssh} (SSH-OpenSSH) [installed]
< openssh-server-common-9.6_p1-r0 aarch64 {openssh} (SSH-OpenSSH) [installed]
< openssh-sftp-server-9.6_p1-r0 aarch64 {openssh} (SSH-OpenSSH) [installed]
```

The reducation in size is neglectible with 1MB from 208MB to 207MB.

Changelog: removed

Refs #44
---
 Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index 3444329..2935d3a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -8,7 +8,7 @@ RUN apk add --no-cache \
   git \
   idn2-utils \
   jq \
-  openssh \
+  openssh-client \
   cosign
 
 # Install OpenTofu using the installer script in standalone mode
-- 
GitLab