@@ -57,7 +57,6 @@ def arch_platform
57
57
RUN pacman-db-upgrade
58
58
RUN pacman --noconfirm -Syu openssl openssh sudo curl
59
59
RUN [ -f "/etc/ssh/ssh_host_rsa_key" ] || ssh-keygen -A -t rsa -f /etc/ssh/ssh_host_rsa_key
60
- RUN [ -f "/etc/ssh/ssh_host_dsa_key" ] || ssh-keygen -A -t dsa -f /etc/ssh/ssh_host_dsa_key
61
60
RUN echo >/etc/security/limits.conf
62
61
CODE
63
62
end
@@ -82,7 +81,6 @@ def fedora_platform
82
81
RUN dnf clean all
83
82
RUN dnf install -y sudo openssh-server openssh-clients which curl
84
83
RUN [ -f "/etc/ssh/ssh_host_rsa_key" ] || ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ''
85
- RUN [ -f "/etc/ssh/ssh_host_dsa_key" ] || ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N ''
86
84
CODE
87
85
end
88
86
@@ -91,7 +89,6 @@ def gentoo_platform
91
89
RUN emerge-webrsync
92
90
RUN emerge --quiet --noreplace net-misc/openssh app-admin/sudo
93
91
RUN [ -f "/etc/ssh/ssh_host_rsa_key" ] || ssh-keygen -A -t rsa -f /etc/ssh/ssh_host_rsa_key
94
- RUN [ -f "/etc/ssh/ssh_host_dsa_key" ] || ssh-keygen -A -t dsa -f /etc/ssh/ssh_host_dsa_key
95
92
CODE
96
93
end
97
94
@@ -100,7 +97,6 @@ def gentoo_paludis_platform
100
97
RUN cave sync
101
98
RUN cave resolve -zx net-misc/openssh app-admin/sudo
102
99
RUN [ -f "/etc/ssh/ssh_host_rsa_key" ] || ssh-keygen -A -t rsa -f /etc/ssh/ssh_host_rsa_key
103
- RUN [ -f "/etc/ssh/ssh_host_dsa_key" ] || ssh-keygen -A -t dsa -f /etc/ssh/ssh_host_dsa_key
104
100
CODE
105
101
end
106
102
@@ -118,7 +114,6 @@ def rhel_platform
118
114
RUN yum clean all
119
115
RUN yum install -y sudo openssh-server openssh-clients which curl
120
116
RUN [ -f "/etc/ssh/ssh_host_rsa_key" ] || ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ''
121
- RUN [ -f "/etc/ssh/ssh_host_dsa_key" ] || ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N ''
122
117
CODE
123
118
end
124
119
@@ -128,7 +123,6 @@ def centosstream_platform
128
123
RUN yum clean all
129
124
RUN yum install -y sudo openssh-server openssh-clients which
130
125
RUN [ -f "/etc/ssh/ssh_host_rsa_key" ] || ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ''
131
- RUN [ -f "/etc/ssh/ssh_host_dsa_key" ] || ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N ''
132
126
CODE
133
127
end
134
128
@@ -138,7 +132,6 @@ def almalinux_platform
138
132
RUN yum clean all
139
133
RUN yum install -y sudo openssh-server openssh-clients which
140
134
RUN [ -f "/etc/ssh/ssh_host_rsa_key" ] || ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ''
141
- RUN [ -f "/etc/ssh/ssh_host_dsa_key" ] || ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N ''
142
135
CODE
143
136
end
144
137
@@ -148,7 +141,6 @@ def rockylinux_platform
148
141
RUN yum clean all
149
142
RUN yum install -y sudo openssh-server openssh-clients which
150
143
RUN [ -f "/etc/ssh/ssh_host_rsa_key" ] || ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ''
151
- RUN [ -f "/etc/ssh/ssh_host_dsa_key" ] || ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N ''
152
144
CODE
153
145
end
154
146
0 commit comments