Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

naskoro/dockerfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker images for various targets

"Base" - clean archlinx image

Build command: ./manage.py base

Just clean archlinux image based docker/contrib/mkimage-arch.sh.

"Sshd" - base image with sshd

Build command: ./manage.py sshd

Minimal image with supervisor and sshd.

Login over ssh with root user and no password.

"Web" - base image for web

Build command: ./manage.py web

Installed & configured packages:

  • supervisor
  • sshd
  • nginx
  • fcron
  • logrotate

NB: Required authorized_keys to login over ssh

Usage in Dockerfile

FROM naspeh/web

ADD authorized_keys /root/.ssh/
RUN chmod 600 /root/.ssh/authorized_keys

Usage if run image directly

docker run -d --net=host --name=web naspeh/web
docker exec -i web /bin/bash -c 'cat >> /root/.ssh/authorized_keys' < ~/.ssh/id_rsa.pub
ssh root@localhost -p2200

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published