File tree 1 file changed +20
-0
lines changed
1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change
1
+ # syntax=docker/dockerfile:1
2
+ FROM ubuntu:16.04
3
+ ARG apt_proxy
4
+ RUN printf "Acquire::http::Proxy \"$apt_proxy\";\nAcquire::https::Proxy \"$apt_proxy\";\n" > /etc/apt/apt.conf.d/00aptproxy
5
+ RUN sed -i 's|//archive|//fr.archive|' /etc/apt/sources.list
6
+ ENV DEBIAN_FRONTEND=noninteractive
7
+ RUN apt-get update
8
+ RUN <<-EOF
9
+ apt-get install -V -y tzdata --no-install-recommends
10
+ apt-get install -V -y bash-completion ca-certificates openssh-client --no-install-recommends
11
+ apt-get install -V -y vim command-not-found git remake emacs-nox nano --no-install-recommends # ocaml-nox
12
+ EOF
13
+ RUN echo "source /usr/share/bash-completion/completions/git" >> $HOME/.profile
14
+ RUN mkdir -vm=700 $HOME/.ssh/
15
+ # Pour les instructions COPY et WORKDIR
16
+ ENV HOME=/root
17
+ COPY config id_rsa $HOME/.ssh/
18
+ RUN mkdir $HOME/myDIR
19
+ WORKDIR $HOME
20
+ CMD ["bash","-li"]
You can’t perform that action at this time.
0 commit comments