diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2016-02-23 15:25:32 +0200 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2016-02-23 15:30:47 +0200 |
commit | 161841821b355849b4b76e6b873f3bbd5a5ba1ae (patch) | |
tree | 7c27b0dfcd55ed440f0978fd9877b9de0cbda42d /utopic-amd64-art | |
parent | 736f45443a721777837e3098e98ae496b469cbfc (diff) |
expose SSH port
With newer docker version 1.10.x, it becomes mandatory.
It was implicit with older images.
Change-Id: Ia06a35c5fabfda089571d53f24650bda9754cebf
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'utopic-amd64-art')
-rw-r--r-- | utopic-amd64-art/Dockerfile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/utopic-amd64-art/Dockerfile b/utopic-amd64-art/Dockerfile index 8a24e450..04d371c9 100644 --- a/utopic-amd64-art/Dockerfile +++ b/utopic-amd64-art/Dockerfile @@ -58,5 +58,7 @@ RUN useradd -m -p '$6$7tSX2YU5Q$ydZwAuWtNPPBb1Fv/tzy3eFeEP/ThDBUjV/4vHVx6bVyfYMX && curl https://raw.githubusercontent.com/google/styleguide/gh-pages/cpplint/cpplint.py > /home/buildslave/bin/cpplint.py \ && curl https://storage.googleapis.com/git-repo-downloads/repo > /home/buildslave/bin/repo \ && chmod a+x /home/buildslave/bin/* \ - && chown -R buildslave:buildslave /home/buildslave/bin \ - && /usr/sbin/sshd + && chown -R buildslave:buildslave /home/buildslave/bin + +EXPOSE 22 +CMD ["/usr/sbin/sshd", "-D"] |