initial commit

This commit is contained in:
dave 2015-02-17 21:37:15 -08:00
commit 0c49d9e2c9
2 changed files with 21 additions and 0 deletions

10
Dockerfile Normal file
View File

@ -0,0 +1,10 @@
FROM basessh
MAINTAINER Dave P
# Create user
RUN useradd --create-home nexus ; \
echo "nexus:nexus" | chpasswd
COPY start /start
RUN chmod +x /start

11
start Normal file
View File

@ -0,0 +1,11 @@
#!/bin/bash
if [ ! -f /etc/ssh/sshd_config ]; then
# Regenerate ssh key per container
dpkg-reconfigure openssh-server
fi
chown nexus /nexus
# start services
supervisord