-
Notifications
You must be signed in to change notification settings - Fork 23
/
Dockerfile-jammy
190 lines (172 loc) · 3.9 KB
/
Dockerfile-jammy
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
FROM arm64v8/ubuntu:jammy
SHELL ["/bin/bash", "-c"]
ENV DEBIAN_FRONTEND=noninteractive LC_ALL=C.UTF-8 LANG=C.UTF-8 PATH="/opt/bin:${PATH}"
RUN apt-get update && \
apt-get install -y software-properties-common && \
rm -rf /var/lib/apt/lists/*
RUN add-apt-repository ppa:deadsnakes/ppa -y
RUN apt-get update -y
RUN apt-get remove -y \
libpython3.10:arm64 \
libpython3.10-dev:arm64 \
libpython3.10-minimal:arm64 \
libpython3.10-stdlib:arm64 \
python3.10 \
python3.10-dev \
python3.10-minimal
RUN apt-get update \
&& apt-get install -y \
alien \
apache2 \
apache2-dev \
apt-utils \
aptitude \
autoconf \
bear \
binutils \
build-essential \
cargo \
chrpath \
clang-12 \
clang-format-12 \
clang-tidy-12 \
clang-tools-12 \
clangd-12 \
cppcheck \
clang-tidy \
cmake \
curl \
dialog \
direnv \
devscripts \
dnsutils \
doxygen \
dpatch \
enchant-2 \
figlet \
flex \
freetds-bin \
freetds-dev \
g++ \
g++-12 \
gawk \
gcc \
gcc-12 \
gdebi \
gettext \
git \
git-buildpackage \
graphviz \
gtk-doc-tools \
iputils-ping \
ksh \
libclang-12-dev \
libclang-common-12-dev \
libclang1-12 \
libcurl4-openssl-dev \
libenchant-2-2 \
libevent-dev \
libffi-dev \
libfreeradius-dev \
libgd-dev \
libglib2.0-dev \
libgnutls28-dev \
libgsf-1-dev \
libjpeg-dev \
libkrb5-dev \
libldap2-dev \
libltdl-dev \
libmcrypt-dev \
libmysqlclient-dev \
libncurses5-dev \
libopenblas-dev \
libpango1.0-dev \
libpcap-dev \
libperl-dev \
libpq-dev \
libreadline-dev \
librrd-dev \
libsasl2-dev \
libsodium-dev \
libsqlite3-dev \
libssl-dev \
libstdc++-12-dev \
libtool \
libxml2 \
libxml2-dev \
libxmlsec1-dev \
libxmlsec1-openssl \
lldb \
lld \
lsb-release \
make \
mono-complete \
mono-xbuild \
nodejs \
npm \
nullmailer \
openssh-client \
openssl \
patch \
patchelf \
php-common \
pngcrush \
p7zip-full \
rpcbind \
rpm \
rrdtool \
rsync \
rustc \
shellcheck \
smbclient \
software-properties-common \
strace \
sudo \
tar \
texinfo \
tk-dev \
uuid-dev \
vim \
valgrind \
xmlsec1 \
zlib1g-dev \
zstd \
&& rm -rf /var/lib/apt/lists/*
RUN apt-get update && \
apt-get upgrade -y
RUN apt-get remove -y nodejs libnode-dev libnode72
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash
RUN apt-get update -y && apt-get install -y nodejs
RUN node --version
RUN npm --version
RUN apt-get remove -y cmake
RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null
RUN add-apt-repository 'deb https://apt.kitware.com/ubuntu/ jammy main'
RUN apt-get update -y && apt-get install -y cmake
RUN apt-get autoremove -y
RUN apt-get install -y python3.11 \
libpython3.11 \
libpython3.11-dev \
python3.11-dev \
python3.11-distutils \
python3.11-venv \
python3-setuptools \
python3-sphinx \
&& rm -rf /var/lib/apt/lists/*
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1
RUN python3 -V
#RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3.11
RUN python3.11 -m ensurepip
RUN pip3 -V
RUN cp /usr/local/bin/pip3 /usr/bin
RUN cp /usr/local/bin/pip3.11 /usr/bin
RUN python3.11 -m pip install --upgrade pip
RUN pip3 install pipenv
RUN cp /usr/local/bin/pipenv* /usr/bin/
RUN cp /usr/local/bin/virtualenv* /usr/bin/
COPY bazel-5.3.2-linux-arm64 /usr/bin/bazel
RUN chmod 755 /usr/bin/bazel
ENV DISTRO="ubuntu-22.04" DISTRO_CODE="jammy"
RUN mkdir -p /opt/build-mk/debs
RUN mkdir -p /opt/build-mk/patches
ENTRYPOINT ["/opt/build-mk/patches/build_check_mk.sh"]