-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix, forbidden path outside build context
- Loading branch information
Showing
6 changed files
with
18 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
#!/bin/bash | ||
|
||
cp -r "${GITHUB_REPOSITORY}" "/ros/${GITHUB_WORKSPACE}" | ||
|
||
docker build \ | ||
--build-args ROS2_DISTRO="$1" \ | ||
--build-args GITHUB_WORKSPACE="$GITHUB_WORKSPACE" \ | ||
--build-args GITHUB_REPOSITORY="$GITHUB_REPOSITORY" \ | ||
-t ros2-ci:latest /ros2 || exit $? | ||
|
||
docker run --rm ros2-ci:latest || exit $? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
ARG ROS2_DISTRO=foxy | ||
|
||
FROM ros:${ROS2_DISTRO} | ||
|
||
ARG ROS2_DISTRO | ||
|
||
COPY . /ws | ||
|
||
COPY entrypoint.sh /entrypoint.sh | ||
RUN chmod +x /entrypoint.sh | ||
|
||
ENTRYPOINT ["/entrypoint.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.