Skip to content

Commit 3956a57

Browse files
committed
Updated Dockerfile-ubuntu-16.04
1 parent 15c7dcf commit 3956a57

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

ubuntu_16.04/Dockerfile-ubuntu-16.04

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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"]

0 commit comments

Comments
 (0)