-
Notifications
You must be signed in to change notification settings - Fork 483
/
Dockerfile
49 lines (46 loc) · 1.02 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
#---
# name: build-essential
# group: build
# notes: installs compilers, build tools & configures the default locale
#---
ARG BASE_IMAGE
FROM ${BASE_IMAGE}
ENV DEBIAN_FRONTEND=noninteractive \
LANGUAGE=en_US:en \
LANG=en_US.UTF-8 \
LC_ALL=en_US.UTF-8
#TERM=dumb
RUN set -ex \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
locales \
locales-all \
tzdata \
&& locale-gen en_US $LANG \
&& update-locale LC_ALL=$LC_ALL LANG=$LANG \
&& locale \
\
&& apt-get install -y --no-install-recommends \
build-essential \
software-properties-common \
apt-transport-https \
ca-certificates \
lsb-release \
pkg-config \
gnupg \
git \
gdb \
wget \
curl \
nano \
zip \
unzip \
time \
sshpass \
ssh-client \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
\
&& gcc --version \
&& g++ --version
COPY tarpack /usr/local/bin/