2
0
mirror of https://github.com/linka-cloud/d2vm.git synced 2024-11-22 07:46:25 +00:00

Makefile: add docker

Alpine example: fix missing openssh-server

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
Adphi 2022-04-19 14:07:13 +02:00
parent c2f6e4ae5d
commit 362c6e1d8c
Signed by: adphi
GPG Key ID: 46BE4062DB2397FF
2 changed files with 3 additions and 1 deletions

View File

@ -23,6 +23,8 @@ show-version:
DOCKER_IMAGE := linkacloud/d2vm
docker: docker-build docker-push
docker-push:
@docker image push -a $(DOCKER_IMAGE)

View File

@ -1,4 +1,4 @@
FROM alpine
RUN apk add --no-cache && \
RUN apk add --no-cache openssh-server && \
echo "PermitRootLogin yes" >> /etc/ssh/sshd_config