-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathDockerfile
38 lines (33 loc) · 1.24 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
FROM ubuntu:24.04
LABEL org.opencontainers.image.authors="Mark Jansen <[email protected]>"
LABEL Description="RosBE-Unix on Ubuntu with Release Engineering scripts"
WORKDIR /work
# The settings `DEBIAN_FRONTEND="noninteractive" TZ="Europe/Amsterdam"` are for `texinfo`
RUN apt-get update -y \
&& apt-get upgrade -y \
&& DEBIAN_FRONTEND="noninteractive" TZ="Europe/Amsterdam" apt-get install -y \
bison \
build-essential \
flex \
git \
nano \
p7zip-full \
pkg-config \
python-is-python3 \
python3 \
texinfo \
wget \
zip \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
RUN wget https://downloads.sourceforge.net/reactos/RosBE-Unix-2.2.1.tar.bz2 \
&& tar -xjf RosBE-Unix-2.2.1.tar.bz2 \
&& rm RosBE-Unix-2.2.1.tar.bz2 \
&& cd RosBE-Unix-2.2.1 \
&& echo yes | CFLAGS="-pipe -O2 -Wl,-S -g0 -march=core2" bash RosBE-Builder.sh /usr/local/RosBE \
&& cd .. \
&& rm -rf RosBE-Unix-2.2.1
RUN git clone https://github.com/reactos/Release_Engineering \
&& mv Release_Engineering/Release_* /usr/local/bin \
&& rm -rf Release_Engineering
CMD ["/usr/local/RosBE/RosBE.sh", "/work"]