diff options
author | Jean-Philippe Roemer <roemer.jp@gmail.com> | 2015-10-02 11:29:11 +0100 |
---|---|---|
committer | Jean-Philippe Roemer <roemer.jp@gmail.com> | 2015-10-02 11:31:05 +0100 |
commit | 3cad8d9492a7dfd85ced9a897f5933d70ed15814 (patch) | |
tree | 142ea050379f4351f5452551e3f27f9ececc7861 /Dockerfile | |
parent | e63e0b3105124bd8ec3028a39dc71c8d8ca103e3 (diff) | |
download | gitea-3cad8d9492a7dfd85ced9a897f5933d70ed15814.tar.gz gitea-3cad8d9492a7dfd85ced9a897f5933d70ed15814.zip |
Use app/docker folder for SSH Configureation
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile index 453324a1dc..a3b03c558e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,9 +9,6 @@ RUN echo "@edge http://dl-4.alpinelinux.org/alpine/edge/main" | tee -a /etc/apk/ && apk -U --no-progress add ca-certificates git linux-pam s6@edge curl openssh socat \ && chmod +x /usr/sbin/gosu -# Configure SSH -COPY docker/sshd_config /etc/ssh/sshd_config - # Configure Go and build Gogs ENV GOPATH /tmp/go ENV PATH $PATH:$GOPATH/bin @@ -26,6 +23,7 @@ ENV GOGS_CUSTOM /data/gogs RUN adduser -D -g 'Gogs Git User' git -h /data/git/ -s /bin/sh && passwd -u git RUN echo "export GOGS_CUSTOM=/data/gogs" >> /etc/profile +# Configure Docker Container VOLUME ["/data"] EXPOSE 22 3000 CMD ["./docker/start.sh"] |