[elbe-devel] [PATCH] remove dockerfile

Manuel Traut manut at linutronix.de
Wed Dec 20 14:30:23 CET 2017


remove dockerfile, because there is a more up to date copy of this in the
contrib folder

Signed-off-by: Manuel Traut <manut at linutronix.de>
---
 dockerfile/Dockerfile            | 47 -------------------------------------
 dockerfile/README.md             | 50 ----------------------------------------
 dockerfile/adds/supervisord.conf | 25 --------------------
 3 files changed, 122 deletions(-)
 delete mode 100644 dockerfile/Dockerfile
 delete mode 100644 dockerfile/README.md
 delete mode 100644 dockerfile/adds/supervisord.conf

diff --git a/dockerfile/Dockerfile b/dockerfile/Dockerfile
deleted file mode 100644
index bbef4eba..00000000
--- a/dockerfile/Dockerfile
+++ /dev/null
@@ -1,47 +0,0 @@
-# This Dockefile generate a image for the elbe buildsystem
-
-# baseimage is debian wheezy
-FROM debian:wheezy
-
-# Maintainer
-# MAINTAINER forename surename <your.mail at address.com>
-
-# set debian/ubuntu config environment to noninteractive
-ENV DEBIAN_FRONTEND noninteractive
-
-# setup the initsystem
-RUN dpkg-divert --local --rename --add /sbin/initctl && ln -sf /bin/true /sbin/initctl
-
-# update and upgrade
-RUN apt-get update -y && apt-get upgrade -y
-
-# development base installation
-RUN apt-get install -y git build-essential openssh-server vim supervisor sudo \
-		       cpio python-mako python-lxml python-apt wget qemu kvm \
-		       qemu-system qemu-kvm qemu-keymaps qemu-utils \
-		       libvirt-bin qemu-utils qemu-system qemu-user-static \
-		       e2tools python-mako python python-lxml python-apt \
-		       p7zip-full make python-parted
-
-# clean up
-RUN apt-get clean
-
-# additions
-ADD adds/supervisord.conf /etc/supervisord.conf
-
-# create elbe user
-RUN useradd -d /home/elbe -U -G libvirt,kvm,libvirt-qemu -m -s /bin/bash -u 1000 elbe
-RUN echo "root:elbe" | chpasswd
-RUN echo "elbe:elbe" | chpasswd
-
-# sudo for elbe
-RUN echo "%elbe  ALL=(ALL:ALL) NOPASSWD: ALL" > /etc/sudoers.d/elbegrp
-RUN chmod 0440 /etc/sudoers.d/elbegrp
-
-# download git repository
-RUN su --login elbe -c "git clone https://github.com/Linutronix/elbe.git"
-
-# ssh and startup configuration
-RUN mkdir -v /var/run/sshd
-CMD ["/usr/bin/supervisord", "-n"]
-EXPOSE 22
diff --git a/dockerfile/README.md b/dockerfile/README.md
deleted file mode 100644
index 1849c10b..00000000
--- a/dockerfile/README.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# Dockerfile for elbe
-
-[elbe][elb] is a debian based system to generate root-filesystems for embedded
-devices.
-
-[docker][doc] is an open-source project to easily create lightweight, portable,
-self-sufficient containers from any application.
-
-This is a Dockerfile to generate a elbe development environment for systems
-other than debian based.
-
-[doc]: https://www.docker.io "Docker Homepage"
-[elb]: http://elbe-rfs.org   "ELBE Homepage"
-
-## Depencies
-
-You need docker installed and a running docker service.
-
-## Build image
-
-Please add a `MAINTAINER` entry in the dockerfile and start the buildprocess
-with
-
-    % cd dockerfile
-    % docker build -t own-elbe-system .
-
-## start
-
-Start a dettached docker session
-
-    % docker run --privileged -d own-elbe-system
-
-You get a Container-ID like this one
-
-    a242543d614f8cd97729e8fe0c417897c769e6c381390d168f3fc39c0c497132
-
-## connect
-
-To connect to this container you get the ip with docker inspect.
-
-    % docker inspect a242543d614f8c | grep IPAddress
-    "IPAddress": "172.17.0.2",
-    % ssh root at 172.17.0.2
-
-## passwords
-
-    root: elbe
-    elbe: elbe
-
diff --git a/dockerfile/adds/supervisord.conf b/dockerfile/adds/supervisord.conf
deleted file mode 100644
index d35b840d..00000000
--- a/dockerfile/adds/supervisord.conf
+++ /dev/null
@@ -1,25 +0,0 @@
-; taken by https://github.com/sullof/docker-sshd
-[unix_http_server]
-file=/tmp/supervisor.sock ; (the path to the socket file)
-
-[supervisord]
-logfile=/tmp/supervisord.log ; (main log file;default $CWD/supervisord.log)
-logfile_maxbytes=50MB ; (max main logfile bytes b4 rotation;default 50MB)
-logfile_backups=10 ; (num of main logfile rotation backups;default 10)
-loglevel=info ; (log level;default info; others: debug,warn,trace)
-pidfile=/tmp/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
-nodaemon=false ; (start in foreground if true;default false)
-minfds=1024 ; (min. avail startup file descriptors;default 1024)
-minprocs=200 ; (min. avail process descriptors;default 200)
-
-; the below section must remain in the config file for RPC
-; (supervisorctl/web interface) to work, additional interfaces may be
-; added by defining them in separate rpcinterface: sections
-[rpcinterface:supervisor]
-supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
-
-[supervisorctl]
-serverurl=unix:///tmp/supervisor.sock ; use a unix:// URL for a unix socket
-
-[program:openssh]
-command=/usr/sbin/sshd
-- 
2.15.1




More information about the elbe-devel mailing list