-
-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathDockerfile.mxe
29 lines (25 loc) · 985 Bytes
/
Dockerfile.mxe
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
FROM ubuntu:22.04
ENTRYPOINT ["/bin/bash"]
# RUN echo 'Acquire::http { Proxy "http://192.168.1.2:3142"; };' >> /etc/apt/apt.conf.d/00proxy
RUN \
export DEBIAN_FRONTEND=noninteractive && \
apt -y update && \
apt -y upgrade && \
apt -y install \
autoconf automake autopoint bash bison build-essential bzip2 flex \
g++ g++-multilib gettext git gperf intltool iputils-ping libc6-dev-i386 \
libffi-dev libgdk-pixbuf2.0-dev libltdl-dev libssl-dev libtool-bin \
libxml-parser-perl lzip make nano openssl p7zip-full patch perl \
pkg-config ruby scons sed unzip wget xz-utils libgl-dev \
python3 python3-mako python3-pkg-resources python3-setuptools python-is-python3 \
&& \
apt -y autoremove && \
apt -y autoclean && \
apt -y clean && \
rm -rf /var/lib/apt/lists/* && \
exit 0
RUN \
cd /opt && \
git clone https://github.com/mxe/mxe.git && \
exit 0
ENV PATH="${PATH}:/opt/mxe/usr/bin"