File tree Expand file tree Collapse file tree 5 files changed +55
-15
lines changed Expand file tree Collapse file tree 5 files changed +55
-15
lines changed Original file line number Diff line number Diff line change 29
29
uses : docker/setup-buildx-action@v3
30
30
31
31
- name : Build and push
32
- id : docker_build
33
- uses : docker/build-push-action@v5
32
+ uses : docker/bake-action@v4
34
33
with :
35
- context : ./buildroot
36
34
push : true
37
- builder : ${{ steps.buildx.outputs.name }}
38
- tags : ${{ env.IMAGE }}
39
- platforms : linux/amd64,linux/arm64
35
+ workdir : buildroot
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ ARG ROS_DISTRO=humble
2
+
3
+ FROM docker.io/hakuturu583/cuda_ros:humble-cuda-12.2.0-devel as build_stage
4
+
5
+ ENV DEBIAN_FRONTEND=noninteractive
6
+
7
+ RUN apt-get update && \
8
+ apt-get install -y \
9
+ python3-vcstool git python3-colcon-common-extensions python3-rosdep \
10
+ python3-bloom fakeroot \
11
+ debhelper git gpg dh-python reprepro \
12
+ && apt-get clean \
13
+ && rm -rf /var/lib/apt/lists/*
14
+
15
+ ENTRYPOINT [ "/bin/bash" ]
Original file line number Diff line number Diff line change
1
+ ARG ROS_DISTRO=humble
2
+
3
+ FROM --platform=${BUILDPLATFORM} impactaky/mc-ubuntu22.04-${TARGETARCH}-host:2.0.0 AS mimic-host
4
+ FROM docker.io/hakuturu583/cuda_ros:lt4-humble-cuda-12.2.2-devel as build_stage
5
+
6
+ ENV DEBIAN_FRONTEND=noninteractive
7
+ ENV DENO_NO_UPDATE_CHECK=1
8
+
9
+ RUN apt-get update && \
10
+ apt-get install -y \
11
+ python3-vcstool git python3-colcon-common-extensions python3-rosdep \
12
+ python3-bloom fakeroot \
13
+ debhelper git gpg dh-python reprepro \
14
+ && apt-get clean \
15
+ && rm -rf /var/lib/apt/lists/*
16
+
17
+ COPY --from=mimic-host / /mimic-cross
18
+ RUN /mimic-cross/mimic-cross.deno/setup.sh
19
+
20
+ ENTRYPOINT [ "/bin/bash" ]
Original file line number Diff line number Diff line change
1
+ group "default" {
2
+ targets = [" amd64" , " aarch64" ]
3
+ }
4
+
5
+
6
+ target "amd64" {
7
+ target = " build_stage"
8
+ dockerfile = " Dockerfile.amd64"
9
+ platforms = [" linux/amd64" ]
10
+ tags = [" ghcr.io/fortefibre/buildroot:humble-amd64" ]
11
+ }
12
+
13
+ target "aarch64" {
14
+ target = " build_stage"
15
+ dockerfile = " Dockerfile.arm64"
16
+ platforms = [" linux/arm64" ]
17
+ tags = [" ghcr.io/fortefibre/buildroot:humble-aarch64" ]
18
+ }
You can’t perform that action at this time.
0 commit comments