Skip to content

Commit 292c95d

Browse files
author
Murilo Marinho
committed
[docker,githubactions] Adjusting coppeliasim image to just have itself.
1 parent 00659de commit 292c95d

5 files changed

Lines changed: 13 additions & 40 deletions

File tree

.devel/sas_ros_jazzy_coppeliasim/Dockerfile renamed to .devel/noble_coppeliasim/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Firt version by @juanjqo
22
# https://github.com/Adorno-Lab/docker_recipes/blob/main/ubuntu_24/dqrobotics_coppeliasim/Dockerfile
3-
FROM murilomarinho/sas_ros_jazzy
3+
FROM ubuntu:noble
44

55
ARG COPPELIASIM_RELEASE=V4_7_0_rev4
66
ENV COPPELIASIM_RELEASE=$COPPELIASIM_RELEASE
@@ -15,5 +15,5 @@ SHELL ["/bin/bash", "-c"]
1515
ENV BASH_ENV="/etc/bash_env"
1616

1717
RUN cd ~/sas_install/sas && git pull
18-
RUN chmod +x ~/sas_install/sas/.devel/scripts/setup_sas_ros_jazzy_coppeliasim.sh
19-
RUN cd ~/sas_install/sas/.devel/scripts && bash -c "./setup_sas_ros_jazzy_coppeliasim.sh"
18+
RUN chmod +x ~/sas_install/sas/.devel/scripts/setup_coppeliasim.sh
19+
RUN cd ~/sas_install/sas/.devel/scripts && bash -c "./setup_coppeliasim.sh"

.devel/scripts/setup_sas_ros_jazzy_coppeliasim.sh renamed to .devel/scripts/setup_coppeliasim.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,6 @@ tar -xf "${COPPELIASIM_FILE}"
2828

2929
echo "Setting environment variables for ${COPPELIASIM_FILE}."
3030
echo "export COPPELIASIM_PATH='${HOME}/utils/CoppeliaSim_Edu_${COPPELIASIM_RELEASE}_${UBUNTU_VERSION}'">> ~/.bashrc
31-
echo 'alias coppeliasim="$COPPELIASIM_PATH/coppeliaSim.sh &"'>> ~/.bashrc
31+
## We don't want expansion of $COPPELIASIM_PATH so that the script is still useful if the path changes.
32+
# shellcheck disable=SC2016
33+
echo 'alias coppeliasim="$COPPELIASIM_PATH/coppeliaSim.sh &"' >> ~/.bashrc

.github/workflows/docker_with_coppeliasim.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/workflows/docket_with_coppeliasim_dispatch.yml renamed to .github/workflows/docker_with_coppeliasim_dispatch.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ jobs:
1919
- name: Set up Docker Buildx
2020
uses: docker/setup-buildx-action@v3
2121

22-
- name: Build and push sas_ros_jazzy_coppeliasim
22+
- name: Build and push noble_coppeliasim
2323
uses: docker/build-push-action@v6
2424
with:
2525
platforms: linux/amd64
2626
push: true
27-
file: .devel/sas_ros_jazzy_coppeliasim/Dockerfile
28-
tags: ${{ vars.DOCKER_USERNAME }}/sas_ros_jazzy_coppeliasim
27+
file: .devel/noble_coppeliasim/Dockerfile
28+
tags: |
29+
${{ vars.DOCKER_USERNAME }}/noble_coppeliasim:latest
30+
${{ vars.DOCKER_USERNAME }}/noble_coppeliasim:470rev4
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
name: Debian Builder
2-
on: [push, workflow_dispatch]
1+
name: SAS Debian Builder
2+
on: [workflow_dispatch]
33

44
jobs:
55
debian_builder:

0 commit comments

Comments
 (0)