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:
parent
c2f6e4ae5d
commit
362c6e1d8c
2
Makefile
2
Makefile
@ -23,6 +23,8 @@ show-version:
|
|||||||
|
|
||||||
DOCKER_IMAGE := linkacloud/d2vm
|
DOCKER_IMAGE := linkacloud/d2vm
|
||||||
|
|
||||||
|
docker: docker-build docker-push
|
||||||
|
|
||||||
docker-push:
|
docker-push:
|
||||||
@docker image push -a $(DOCKER_IMAGE)
|
@docker image push -a $(DOCKER_IMAGE)
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM alpine
|
FROM alpine
|
||||||
|
|
||||||
RUN apk add --no-cache && \
|
RUN apk add --no-cache openssh-server && \
|
||||||
echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
|
echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
|
||||||
|
Loading…
Reference in New Issue
Block a user