Skip to content

Instantly share code, notes, and snippets.

@belobot belobot/Dockerfile
Last active Dec 20, 2018

Embed
What would you like to do?
version: '2'
services:
ssh:
build: .
restart: always
ports:
- "22:22"
volumes:
- ./root:/root
FROM rastasheep/ubuntu-sshd
MAINTAINER Ronalds Sovas <sovas@dosje.in>
################## INSTALLATION STARTS ##################
RUN echo "internetabomzis\ninternetabomzis" |passwd root \
&& ln -s /usr/bin/python3 /usr/bin/python \
&& apt update \
&& apt install -y net-tools
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.