diff --git a/examples/Dockerfile b/examples/Dockerfile deleted file mode 100644 index 1c67ce245..000000000 --- a/examples/Dockerfile +++ /dev/null @@ -1,22 +0,0 @@ -# sshd -# -# VERSION 0.0.2 - -FROM ubuntu:14.04 -MAINTAINER Sven Dowideit -# ENV http_proxy "http://proxy.example.com:80" -# ENV https_proxy "https://proxy.example.com:80" -RUN apt-get update && apt-get install -y openssh-server -RUN mkdir /var/run/sshd -RUN echo 'root:screencast' | chpasswd -RUN sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/' /etc/ssh/sshd_config - -# SSH login fix. Otherwise user is kicked off after login -RUN sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' -i /etc/pam.d/sshd - -ENV NOTVISIBLE "in users profile" -RUN echo "export VISIBLE=now" >> /etc/profile -ADD id_rsa.pub /root/.ssh/authorized_keys - -EXPOSE 22 -CMD ["/usr/sbin/sshd", "-D"] diff --git a/examples/README.md b/examples/README.md deleted file mode 100644 index 5aa715cef..000000000 --- a/examples/README.md +++ /dev/null @@ -1,37 +0,0 @@ - - -# snap Examples - -This folder contains examples of using snap. Each folder contains a README.md which explains the examples. - -### Example list - -* [influxdb-grafana](influxdb-grafana) -* [tasks](influxdb-grafana) - -### Linux pre-setup - -Use "linux_prep.sh" to create docker-machine container required by examples. -If you are behind proxy server uncomment and set "ENV http_proxy ..." and "ENV https_proxy ..." -in Dockerfile. - -Docker file comes from: https://docs.docker.com/examples/running_ssh_service/ -Tested on: Ubuntu 14.04. -Depends on: docker, docker-machine.