Skip to content

Commit 9a54020

Browse files
author
Murilo Marinho
committed
Adding docker file
1 parent 126e276 commit 9a54020

4 files changed

Lines changed: 52 additions & 2595 deletions

File tree

.devel/sas_ros_jazzy/Dockerfile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# From juanjo's dqrobotics_ros_jazzy
2+
FROM juanjqo/ubuntu_24_dqrobotics_ros_jazzy
3+
ARG ROS_DOMAIN_ID=1
4+
ENV ROS_DOMAIN_ID=$ROS_DOMAIN_ID
5+
SHELL ["/bin/bash", "-c"]
6+
ENV BASH_ENV="/etc/bash_env"
7+
8+
# ROS DOMAIN SETUP
9+
RUN echo "export ROS_DOMAIN_ID=$ROS_DOMAIN_ID" >> ~/.bashrc
10+
11+
# Make directory and download sas installation instructions
12+
RUN mkdir -p ~/sas_install
13+
RUN cd ~/sas_install && git clone -b jazzy https://github.com/SmartArmStack/smart_arm_stack_ROS2.git sas
14+
15+
# Install SAS
16+
RUN chmod +x ~/sas_install/sas/install.sh
17+
RUN bash -c '~/sas_install/sas/install.sh'
18+

.github/workflows/autobuilder.yml

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,32 @@ jobs:
7070
uses: actions/configure-pages@v4
7171
- name: Deploy to GitHub Pages
7272
id: deployment
73-
uses: actions/deploy-pages@v4
73+
uses: actions/deploy-pages@v4
74+
75+
76+
deploy_docker_image:
77+
needs: deploy_ppa_page
78+
79+
runs-on: ubuntu-latest
80+
81+
steps:
82+
- uses: actions/checkout@v2
83+
- name: Log in to Docker Hub
84+
uses: docker/login-action@v3
85+
with:
86+
username: ${{ vars.DOCKER_USERNAME }}
87+
password: ${{ secrets.DOCKER_PASSWORD }}
88+
89+
- name: Set up QEMU
90+
uses: docker/setup-qemu-action@v3
91+
92+
- name: Set up Docker Buildx
93+
uses: docker/setup-buildx-action@v3
94+
95+
- name: Build and push ubuntu_24_dqrobotics_ros_jazzy_sas
96+
uses: docker/build-push-action@v6
97+
with:
98+
platforms: linux/amd64,linux/arm64
99+
push: true
100+
file: ubuntu_24/dqrobotics_ros_jazzy_sas/Dockerfile
101+
tags: ${{ vars.DOCKER_USERNAME }}/ubuntu_24_dqrobotics_ros_jazzy_sas

0 commit comments

Comments
 (0)