/
MacOSARM.dockerfile
92 lines (71 loc) · 4.14 KB
/
MacOSARM.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
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
FROM ua-build-base
ENV MOZ_AUTOMATION_PACKAGE_TESTS=1 \
PERFHERDER_EXTRA_OPTIONS=aarch64
RUN wget -nv -O /builds/worker/fetches/cctools.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/96.0.1/linux64-cctools-port-clang-13/cctools.tar.zst && \
cd /builds/worker/fetches/ && \
tar -xf cctools.tar.zst && \
rm cctools.tar.zst
RUN wget -nv -O /builds/worker/fetches/clang.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/96.0.1/linux64-clang-13-macosx-cross/clang.tar.zst && \
cd /builds/worker/fetches/ && \
tar -xf clang.tar.zst && \
rm clang.tar.zst
RUN wget -nv -O /builds/worker/fetches/sysroot-wasm32-wasi.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/96.0.1/sysroot-wasm32-wasi/sysroot-wasm32-wasi.tar.zst && \
cd /builds/worker/fetches/ && \
tar -xf sysroot-wasm32-wasi.tar.zst && \
rm sysroot-wasm32-wasi.tar.zst
RUN wget -nv -O /builds/worker/fetches/binutils.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/96.0.1/linux64-binutils/binutils.tar.zst && \
cd /builds/worker/fetches/ && \
tar -xf binutils.tar.zst && \
rm binutils.tar.zst
RUN wget -nv -O /builds/worker/fetches/dump_syms.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/96.0.1/linux64-dump_syms/dump_syms.tar.zst && \
cd /builds/worker/fetches/ && \
tar -xf dump_syms.tar.zst && \
rm dump_syms.tar.zst
RUN wget -nv -O /builds/worker/fetches/hfsplus-tools.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/96.0.1/linux64-hfsplus/hfsplus-tools.tar.zst && \
cd /builds/worker/fetches/ && \
tar -xf hfsplus-tools.tar.zst && \
rm hfsplus-tools.tar.zst
RUN wget -nv -O /builds/worker/fetches/dmg.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/96.0.1/linux64-libdmg/dmg.tar.zst && \
cd /builds/worker/fetches/ && \
tar -xf dmg.tar.zst && \
rm dmg.tar.zst
RUN wget -nv -O /builds/worker/fetches/rustc.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/96.0.1/linux64-rust-macos-1.57/rustc.tar.zst && \
cd /builds/worker/fetches/ && \
tar -xf rustc.tar.zst && \
rm rustc.tar.zst
RUN wget -nv -O /builds/worker/fetches/rust-size.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/96.0.1/linux64-rust-size/rust-size.tar.zst && \
cd /builds/worker/fetches/ && \
tar -xf rust-size.tar.zst && \
rm rust-size.tar.zst
RUN wget -nv -O /builds/worker/fetches/cbindgen.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/96.0.1/linux64-cbindgen/cbindgen.tar.zst && \
cd /builds/worker/fetches/ && \
tar -xf cbindgen.tar.zst && \
rm cbindgen.tar.zst
RUN wget -nv -O /builds/worker/fetches/nasm.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/96.0.1/linux64-nasm/nasm.tar.zst && \
cd /builds/worker/fetches/ && \
tar -xf nasm.tar.zst && \
rm nasm.tar.zst
RUN wget -nv -O /builds/worker/fetches/node.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/96.0.1/linux64-node-12/node.tar.zst && \
cd /builds/worker/fetches/ && \
tar -xf node.tar.zst && \
rm node.tar.zst
RUN wget -nv -O /builds/worker/fetches/sysroot-x86_64-linux-gnu.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/96.0.1/sysroot-x86_64-linux-gnu/sysroot-x86_64-linux-gnu.tar.zst && \
cd /builds/worker/fetches/ && \
tar -xf sysroot-x86_64-linux-gnu.tar.zst && \
rm sysroot-x86_64-linux-gnu.tar.zst
COPY MacOSX10.12.sdk.tar.bz2 /builds/worker/fetches/
RUN cd /builds/worker/fetches/ && \
tar -xf MacOSX10.12.sdk.tar.bz2 && \
rm MacOSX10.12.sdk.tar.bz2
COPY MacOSX11.0.sdk.tar.bz2 /builds/worker/fetches/
RUN cd /builds/worker/fetches/ && \
tar -xf MacOSX11.0.sdk.tar.bz2 && \
rm MacOSX11.0.sdk.tar.bz2
ENV MOZ_FETCHES_DIR=/builds/worker/fetches/ \
GECKO_PATH=/builds/worker/workspace \
WORKSPACE=/builds/worker/workspace \
TOOLTOOL_DIR=/builds/worker/fetches/ \
LANG=en_US.UTF-8 \
LANGUAGE=en_US:en
COPY configs /builds/worker/configs
WORKDIR $WORKSPACE