Add user lkp, so user can put pub_key of ssh in /home/lkp when they use ssh to clone.
Signed-off-by: Li Yuanchao lyc163mail@163.com --- container/git-mirror/Dockerfile | 1 + 1 file changed, 1 insertion(+)
diff --git a/container/git-mirror/Dockerfile b/container/git-mirror/Dockerfile index 1180a7b..0828be5 100644 --- a/container/git-mirror/Dockerfile +++ b/container/git-mirror/Dockerfile @@ -5,6 +5,7 @@ FROM alpine:3.8 MAINTAINER Li Yuanchao lyc163mail@163.com
ADD kill-parent.sh / +RUN adduser -u 1090 -D lkp
RUN sed -ri.origin 's|^https?://dl-cdn.alpinelinux.org|http://mirrors.huaweicloud.com%7Cg' /etc/apk/repositories
Reviewed-by: Liu Yinsi liuyinsi@163.com
On Tue, Dec 08, 2020 at 08:42:28PM +0800, Li Yuanchao wrote:
Add user lkp, so user can put pub_key of ssh in /home/lkp when they use ssh to clone.
Signed-off-by: Li Yuanchao lyc163mail@163.com
container/git-mirror/Dockerfile | 1 + 1 file changed, 1 insertion(+)
diff --git a/container/git-mirror/Dockerfile b/container/git-mirror/Dockerfile index 1180a7b..0828be5 100644 --- a/container/git-mirror/Dockerfile +++ b/container/git-mirror/Dockerfile @@ -5,6 +5,7 @@ FROM alpine:3.8 MAINTAINER Li Yuanchao lyc163mail@163.com
ADD kill-parent.sh / +RUN adduser -u 1090 -D lkp
RUN sed -ri.origin 's|^https?://dl-cdn.alpinelinux.org|http://mirrors.huaweicloud.com%7Cg' /etc/apk/repositories
-- 2.23.0