Skip to content
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.

Add overlay Docker image option #1

Merged
merged 2 commits into from
Mar 24, 2023
Merged

Add overlay Docker image option #1

merged 2 commits into from
Mar 24, 2023

Conversation

sea-bass
Copy link
Contributor

This partially addresses [sc-11560] by adding the option for users to build their own release / dev images on top of our binaries containers for Studio.

In these cases, there would be no notion of a "user workspace" as it's all contained within the image (treated the same way the overlay workspace would in core Studio).

I say "partially addresses" because the tutorial portion of this needs to happen in our actual docs.

@sea-bass sea-bass requested a review from MikeWrock March 24, 2023 18:28
@shortcut-integration
Copy link

@sea-bass sea-bass requested a review from eholum March 24, 2023 18:55
Copy link
Contributor

@eholum eholum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor comments. Most of them are take or leave it since this is almost exactly what we have already delivered to customers.

.docker/entrypoint-dev.sh Outdated Show resolved Hide resolved
.docker/entrypoint-dev.sh Outdated Show resolved Hide resolved
.docker/entrypoint-release.sh Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
# hadolint ignore=SC1091
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
--mount=type=cache,target=/var/lib/apt,sharing=locked \
. "${OVERLAY_WS}/install/setup.sh" && \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Someday we should get on renaming this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah... overlay is such a loaded word. Giovanni was right all along and we shouldn't have used other ROS repos as precedent lol

Dockerfile Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
docker-compose-overlay.yaml Outdated Show resolved Hide resolved
@sea-bass
Copy link
Contributor Author

Thanks for the comments, @eholum -- I implemented them all!

@MikeWrock MikeWrock merged commit 9dd526a into generic_ur Mar 24, 2023
@delete-merged-branch delete-merged-branch bot deleted the docker-overlay branch March 24, 2023 22:03
MikeWrock added a commit that referenced this pull request Mar 28, 2023
* Update config packages and example Behaviors

* Add overlay Docker image option (#1)

Co-authored-by: Michael Wrock <Michael Wrock>
Co-authored-by: Sebastian Castro <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants