-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.prerelease
52 lines (41 loc) · 1.72 KB
/
Dockerfile.prerelease
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
#
# build for ubuntu and debian with
FROM ubuntu:latest
# docker build --no-cache -t ubuntu:mulle-ci-prerelease -f Dockerfile.prerelease .
# FROM debian:bullseye-slim
# docker build --no-cache -t debian:mulle-ci-prerelease -f Dockerfile.prerelease .
# make it fresh
# add en UTF-8 as a locale
ENV OTHER_PROJECTS \
mulle-sde/mulle-sde-developer; \
mulle-c/mulle-c-developer; \
mulle-objc/mulle-objc-developer; \
MulleFoundation/mulle-foundation-developer; \
MulleFoundation/foundation-developer;
ENV SDE_PROJECTS mulle-test
# Uncomment for prerelease
ENV MULLE_SDE_DEFAULT_VERSION prerelease
ENV MULLE_HOSTNAME ci-prerelease
# && apt-get -y install locales \
# && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && locale-gen \
# bsdmainutils for column
# in theory we could use the tools from mulle-clang instead of build-essential
# but they are untested...
RUN DEBIAN_FRONTEND=noninteractive \
apt-get update \
&& apt-get -y install libcurl4-gnutls-dev cmake curl git ninja-build build-essential uuid-runtime bsdmainutils wget \
\
&& git clone https://github.com/clibs/clib.git clib \
&& ( cd clib && make install ) \
\
&& wget "https://raw.githubusercontent.com/mulle-sde/mulle-sde/prerelease/bin/installer-all" \
&& chmod 755 installer-all \
&& ./installer-all /usr no \
\
&& wget "https://github.com/mulle-cc/mulle-clang-project/releases/download/14.0.6.2/mulle-clang-14.0.6.2-bullseye-amd64.deb" \
&& dpkg --install "mulle-clang-14.0.6.2-bullseye-amd64.deb" \
### ###
### BUILD ###
### ###
# sudo docker build -t test 'https://raw.githubusercontent.com/MulleFoundation/foundation-developer/release/Dockerfile'
# sudo docker run --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -i -t test