18 lines
451 B
Docker
18 lines
451 B
Docker
FROM alpine:3.21
|
|
|
|
RUN apk add --no-cache \
|
|
bash \
|
|
curl \
|
|
jq \
|
|
gettext \
|
|
openssh-client \
|
|
sshpass
|
|
|
|
RUN curl -fsSL https://get.opentofu.org/install-opentofu.sh | sh -s -- --install-method apk
|
|
|
|
RUN mkdir -p /root/.ssh && \
|
|
echo "Host *" > /root/.ssh/config && \
|
|
echo " StrictHostKeyChecking no" >> /root/.ssh/config && \
|
|
echo " UserKnownHostsFile /dev/null" >> /root/.ssh/config && \
|
|
chmod 600 /root/.ssh/config
|