1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-08-10 04:15:21 +02:00

add pam for docker

This commit is contained in:
codeskyblue 2015-08-17 09:12:47 -04:00
parent 398bb772d8
commit 4095ef2820
2 changed files with 16 additions and 3 deletions

View file

@ -3,14 +3,14 @@ MAINTAINER codeskyblue@gmail.com
RUN echo "deb http://ftp.debian.org/debian/ wheezy-backports main" >> /etc/apt/sources.list
RUN apt-get update
RUN apt-get install -y openssh-server rsync
RUN apt-get install -y openssh-server rsync libpam-dev
# set the working directory and add current stuff
COPY . /gopath/src/github.com/gogits/gogs/
WORKDIR /gopath/src/github.com/gogits/gogs/
RUN go get -v -tags "sqlite redis memcache cert"
RUN go build -tags "sqlite redis memcache cert"
RUN go get -v -tags "sqlite redis memcache cert pam"
RUN go build -tags "sqlite redis memcache cert pam"
RUN useradd --shell /bin/bash --system --comment gogits git