mirror of
https://github.com/newnius/Dockerfiles.git
synced 2025-06-06 08:11:54 +00:00
14 lines
259 B
Docker
14 lines
259 B
Docker
FROM alpine:3.6
|
|
|
|
MAINTAINER Newnius <docker@newnius.com>
|
|
|
|
RUN apk add --no-cache openssh
|
|
|
|
RUN ssh-keygen -t rsa -P '' -f ~/.ssh/id_rsa
|
|
|
|
RUN cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
|
|
|
|
ADD bootstrap.sh /etc/bootstrap.sh
|
|
|
|
ENTRYPOINT ["/etc/bootstrap.sh"]
|