commit 51fd493741bb06780cd47022408dcbe964754a6b
parent af446d2633030c76b30db0c256108a4ca370b1de
Author: Akuario <jkarlos.b@gmail.com>
Date: Wed, 27 Jul 2016 21:17:59 +0200
Added versions in apk packages
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/Dockerfile b/Dockerfile
@@ -5,8 +5,8 @@ MAINTAINER José Carlos Bernárdez "jkarlosb@gmail.com"
# --no-cache es nuevo en Alpine 3.3 y evita tener que utilizar
# --update + rm -rf /var/cache/apk/* (borrar el caché)
RUN apk add --no-cache \
- openssh \
- git
+ openssh=7.2_p2-r1 \
+ git=2.8.3-r0
# Generamos las claves del servidor
RUN ssh-keygen -A
@@ -19,7 +19,6 @@ WORKDIR /git-server/
# Con -D no creamos password, con -s le cambiamos la shell
RUN mkdir /git-server/keys \
&& adduser -D -s /usr/bin/git-shell git \
- #&& adduser -D git \
&& echo git:12345 | chpasswd \
&& mkdir /home/git/.ssh