mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-25 14:08:09 +00:00
gitlab: use new dockerfile template
This commit is contained in:
parent
f434633291
commit
e43d51ff81
12
Dockerfile
12
Dockerfile
@ -4,7 +4,16 @@ MAINTAINER sameer@damagehead.com
|
||||
RUN sed 's/main$/main universe/' -i /etc/apt/sources.list
|
||||
RUN apt-get update && apt-get upgrade -y && apt-get clean # 20130925
|
||||
|
||||
RUN apt-get install -y wget curl unzip build-essential checkinstall zlib1g-dev libyaml-dev libssl-dev \
|
||||
# essentials
|
||||
RUN apt-get install -y vim curl wget sudo net-tools && \
|
||||
apt-get install -y logrotate supervisor openssh-server && \
|
||||
apt-get clean
|
||||
|
||||
# build tools
|
||||
RUN apt-get install -y gcc make && apt-get clean
|
||||
|
||||
# image specific
|
||||
RUN apt-get install -y unzip build-essential checkinstall zlib1g-dev libyaml-dev libssl-dev \
|
||||
libgdbm-dev libreadline-dev libncurses5-dev libffi-dev && \
|
||||
apt-get clean
|
||||
|
||||
@ -23,6 +32,7 @@ RUN wget ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p353.tar.gz -O - | tar
|
||||
gem install --no-ri --no-rdoc bundler
|
||||
|
||||
ADD resources/ /gitlab/
|
||||
RUN mv /gitlab/.vimrc /gitlab/.bash_aliases /root/
|
||||
RUN chmod 755 /gitlab/gitlab /gitlab/setup/install && /gitlab/setup/install
|
||||
|
||||
ADD authorized_keys /root/.ssh/
|
||||
|
||||
5
resources/.bash_aliases
Normal file
5
resources/.bash_aliases
Normal file
@ -0,0 +1,5 @@
|
||||
PS1='${debian_chroot:+($debian_chroot)}[\u@\h \W]# '
|
||||
|
||||
alias rm='rm -i'
|
||||
alias cp='cp -i'
|
||||
|
||||
2
resources/.vimrc
Normal file
2
resources/.vimrc
Normal file
@ -0,0 +1,2 @@
|
||||
se ai
|
||||
se sw=2 ts=2
|
||||
Loading…
x
Reference in New Issue
Block a user