File tree Expand file tree Collapse file tree 8 files changed +1048
-0
lines changed Expand file tree Collapse file tree 8 files changed +1048
-0
lines changed Original file line number Diff line number Diff line change 20
20
sudo docker run --rm --privileged multiarch/qemu-user-static --reset --persistent yes --credential yes
21
21
||| ,
22
22
},
23
+
24
+
25
+ {
26
+ uses: 'actions-rs/toolchain@v1' ,
27
+ with: {
28
+ profile: 'minimal' ,
29
+ toolchain: 'stable' ,
30
+ target: 'aarch64-unknown-linux-gnu' ,
31
+ },
32
+ },
33
+ {
34
+ uses: 'actions-rs/cargo@v1' ,
35
+ with: {
36
+ 'use-cross' : true ,
37
+ command: 'build' ,
38
+ args: '--release --locked --manifest-path docker/kea/healthz/Cargo.toml --target aarch64-unknown-linux-gnu' ,
39
+ },
40
+ },
41
+
42
+
23
43
{
24
44
uses: 'docker/setup-buildx-action@v2' ,
25
45
with: { install: true },
Original file line number Diff line number Diff line change 15
15
" name " : " setup docker multiarch" ,
16
16
" run " : " mkdir -p ~/.docker\n sudo docker run --rm --privileged multiarch/qemu-user-static --reset --persistent yes --credential yes\n "
17
17
},
18
+ {
19
+ " uses " : " actions-rs/toolchain@v1" ,
20
+ " with " : {
21
+ " profile " : " minimal" ,
22
+ " target " : " aarch64-unknown-linux-gnu" ,
23
+ " toolchain " : " stable"
24
+ }
25
+ },
26
+ {
27
+ " uses " : " actions-rs/cargo@v1" ,
28
+ " with " : {
29
+ " args " : " --release --locked --manifest-path docker/kea/healthz/Cargo.toml --target aarch64-unknown-linux-gnu" ,
30
+ " command " : " build" ,
31
+ " use-cross " : true
32
+ }
33
+ },
18
34
{
19
35
" uses " : " docker/setup-buildx-action@v2" ,
20
36
" with " : {
Original file line number Diff line number Diff line change @@ -27,11 +27,13 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
27
27
RUN curl -Ssf -o /tmp/stork.deb 'https://sorah-pkg.s3.dualstack.ap-northeast-1.amazonaws.com/misc/isc-stork-agent_1.5.0.220824140136_arm64.deb' \
28
28
&& ( echo '1e8b67f2afe4404ea3091cbef14e93a23186633a3d571f9cb141d162350d2fe6235d7679e89bed5c2235433f203d706d /tmp/stork.deb' | sha384sum -c --strict ) \
29
29
&& dpkg -i /tmp/stork.deb && rm /tmp/stork.deb
30
+ COPY healthz/target/aarch64-unknown-linux-gnu/release/healthz /app/healthzd
30
31
31
32
COPY run.sh /app/run.sh
32
33
COPY choose_dhcp_server_id.rb /app/choose_dhcp_server_id.rb
33
34
COPY --from=config /app/kea-ctrl-agent.json /app/kea-ctrl-agent.json
34
35
35
36
RUN kea-ctrl-agent -t /app/kea-ctrl-agent.json
36
37
38
+
37
39
CMD /app/run.sh
Original file line number Diff line number Diff line change
1
+ target /
You can’t perform that action at this time.
0 commit comments