File tree 4 files changed +38
-0
lines changed
4 files changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ ARG image=ubuntu:18.04
2
+ FROM $image as system
3
+
4
+
5
+ ARG localbuild
6
+ RUN echo "LOCALBUILD=$localbuild"
7
+ RUN if [ "x$localbuild" != "x" ]; then sed -i 's#http://archive.ubuntu.com/#http://fr.archive.ubuntu.com/#' /etc/apt/sources.list; fi
8
+
9
+ ENV HOME=/root \
10
+ APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=DontWarn \
11
+ DEBIAN_FRONTEND=noninteractive \
12
+ FILES='' \
13
+ LANG=en_US.UTF-8 \
14
+ LANGUAGE=en_US.UTF-8 \
15
+ LC_ALL=C.UTF-8
16
+
17
+
18
+ # built-in packages
19
+ RUN apt-get update \
20
+ && apt-get install -y --no-install-recommends software-properties-common curl \
21
+ && apt-get update \
22
+ && apt-get install -y --no-install-recommends --allow-unauthenticated \
23
+ mc screen vim \
24
+ && apt-get autoclean \
25
+ && apt-get autoremove \
26
+ && rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change
1
+ Docker image: Ubuntu 18.04
2
+ ==========================
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ docker build -t nekrofage/ubuntu1804test:latest .
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ docker run --hostname local \
4
+ --rm \
5
+ -e USER=util01 -e PASSWORD=mot2passe \
6
+ -ti nekrofage/ubuntu1804test:latest \
7
+ /bin/bash
You can’t perform that action at this time.
0 commit comments