forked from VonC/b2d
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
36 lines (31 loc) · 952 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
FROM ubuntu:vivid
MAINTAINER VonC <vonc@laposte.net>
# ENV http_proxy http://<user>:<pwd>@proxy.company:80
# ENV https_proxy http://<user>:<pwd>@proxy.company:80
# ENV no_proxy .company,.sock,localhost,127.0.0.1,::1,192.168.59.103
ENV TERM linux
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get -yq update \
&& apt-get -yqq install software-properties-common
RUN add-apt-repository ppa:git-core/ppa \
&& apt-get -yq update \
&& apt-get -yqq install \
wget \
curl \
ca-certificates \
git \
openssl \
ldap-utils \
iputils-ping
RUN adduser --system --group --shell /bin/sh git \
&& mkdir /home/git/bin
COPY profile /home/git/.profile
COPY bashrc /home/git/.bashrc
COPY bash_aliases /home/git/.bash_aliases
RUN mkdir /home/git/.ssh
COPY curl-ca-bundle.crt /home/git/.ssh/
RUN chown -R git:git /home/git
ENV PATH="$PATH:/home/git/bin"
WORKDIR /home/git
COPY bash_aliases /root/.bash_aliases
ENTRYPOINT bash -l