Skip to content

Commit 4be9f02

Browse files
authored
Update Alpine base image and add sshpass (#3)
1 parent 34a84b3 commit 4be9f02

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM dockette/alpine:3.17
1+
FROM dockette/alpine:3.22
22

33
MAINTAINER Milan Sulc <sulcmil@gmail.com>
44

55
RUN apk update && \
6-
apk add --update openssh bash && \
6+
apk add --update openssh sshpass bash && \
77
bash -c 'eval $(ssh-agent)' && \
88
bash -c 'mkdir -p ~/.ssh' && \
99
bash -c 'echo "Host *" > ~/.ssh/config' && \
1010
bash -c 'echo "StrictHostKeyChecking no" >> ~/.ssh/config'
1111

12-
CMD /bin/bash
12+
CMD /bin/bash

0 commit comments

Comments
 (0)