mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2025-12-08 17:36:24 +00:00
32 lines
858 B
Docker
32 lines
858 B
Docker
FROM sameersbn/debian:jessie.20140918
|
|
MAINTAINER sameer@damagehead.com
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y supervisor logrotate locales \
|
|
nginx openssh-server mysql-server redis-tools \
|
|
git-core postgresql-client ruby rubygems \
|
|
python2.7 python-docutils \
|
|
libmysqlclient18 libpq5 zlib1g libyaml-0-2 libssl1.0.0 \
|
|
libgdbm3 libreadline6 libncurses5 libffi6 \
|
|
libxml2 libxslt1.1 libcurl3 libicu52 \
|
|
&& update-locale LANG=C.UTF-8 LC_MESSAGES=POSIX \
|
|
&& gem install --no-document bundler \
|
|
&& rm -rf /var/lib/apt/lists/* # 20140918
|
|
|
|
COPY assets/setup/ /app/setup/
|
|
RUN chmod 755 /app/setup/install
|
|
RUN /app/setup/install
|
|
|
|
COPY assets/config/ /app/setup/config/
|
|
COPY assets/init /app/init
|
|
RUN chmod 755 /app/init
|
|
|
|
EXPOSE 22
|
|
EXPOSE 80
|
|
EXPOSE 443
|
|
|
|
VOLUME ["/home/git/data"]
|
|
|
|
ENTRYPOINT ["/app/init"]
|
|
CMD ["app:start"]
|