Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions services/control/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
# using only the Node standard library.
FROM node:20-alpine

# OCI provenance labels. UBEROS_VERSION defaults to `dev` for local builds and
# is overridden at release time (FR-A5). See docs/VERSIONING.md.
Comment thread
jmservera marked this conversation as resolved.
ARG UBEROS_VERSION=dev
LABEL org.opencontainers.image.version="${UBEROS_VERSION}" \
org.opencontainers.image.title="uberos-control" \
org.opencontainers.image.source="https://github.com/jmservera/UbeROS"

WORKDIR /app
COPY package.json ./
COPY server.js simulators.js ./
Expand Down
7 changes: 7 additions & 0 deletions services/editor/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
# edits are immediately visible to the ROS build toolchain (F-15, S6). See WP-7.
FROM codercom/code-server:4.129.0

# OCI provenance labels. UBEROS_VERSION defaults to `dev` for local builds and
# is overridden at release time (FR-A5). See docs/VERSIONING.md.
Comment thread
jmservera marked this conversation as resolved.
ARG UBEROS_VERSION=dev
LABEL org.opencontainers.image.version="${UBEROS_VERSION}" \
org.opencontainers.image.title="uberos-editor" \
org.opencontainers.image.source="https://github.com/jmservera/UbeROS"

USER root
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
Expand Down
7 changes: 7 additions & 0 deletions services/frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ RUN npm run build

# --- serve stage ---
FROM nginx:1.27-alpine
# OCI provenance labels on the shipped runtime image. UBEROS_VERSION defaults to
# `dev` for local builds and is overridden at release time (FR-A5). See
# docs/VERSIONING.md.
Comment thread
jmservera marked this conversation as resolved.
ARG UBEROS_VERSION=dev
LABEL org.opencontainers.image.version="${UBEROS_VERSION}" \
org.opencontainers.image.title="uberos-frontend" \
org.opencontainers.image.source="https://github.com/jmservera/UbeROS"
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 3000
7 changes: 7 additions & 0 deletions services/gazebo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
ARG ROS_DISTRO
ENV ROS_DISTRO=${ROS_DISTRO}

# OCI provenance labels. UBEROS_VERSION defaults to `dev` for local builds and
# is overridden at release time (FR-A5). See docs/VERSIONING.md.
Comment thread
jmservera marked this conversation as resolved.
ARG UBEROS_VERSION=dev
LABEL org.opencontainers.image.version="${UBEROS_VERSION}" \
org.opencontainers.image.title="uberos-gazebo" \
org.opencontainers.image.source="https://github.com/jmservera/UbeROS"

# procps provides pgrep for the health check. The gz-launch websocket server
# plugin is expected to be present in the `-full` image used by this service.
RUN apt-get update \
Expand Down
7 changes: 7 additions & 0 deletions services/gazebo/client/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ RUN npm run build

# --- serve stage ---
FROM nginx:1.27-alpine
# OCI provenance labels on the shipped runtime image. UBEROS_VERSION defaults to
# `dev` for local builds and is overridden at release time (FR-A5). See
# docs/VERSIONING.md.
Comment thread
jmservera marked this conversation as resolved.
ARG UBEROS_VERSION=dev
LABEL org.opencontainers.image.version="${UBEROS_VERSION}" \
org.opencontainers.image.title="uberos-gzweb-client" \
org.opencontainers.image.source="https://github.com/jmservera/UbeROS"
COPY nginx.conf /etc/nginx/conf.d/default.conf
# Built with Vite base '/gzweb/', so the assets live under a /gzweb/ path
# prefix; copy them there so request paths map 1:1 onto the filesystem.
Expand Down
7 changes: 7 additions & 0 deletions services/proxy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
# custom entrypoint is needed.
FROM nginx:1.27-alpine

# OCI provenance labels. UBEROS_VERSION defaults to `dev` for local builds and
# is overridden at release time (FR-A5). See docs/VERSIONING.md.
Comment thread
jmservera marked this conversation as resolved.
ARG UBEROS_VERSION=dev
LABEL org.opencontainers.image.version="${UBEROS_VERSION}" \
org.opencontainers.image.title="uberos-proxy" \
org.opencontainers.image.source="https://github.com/jmservera/UbeROS"

COPY docker-entrypoint.d/40-uberos-auth.sh /docker-entrypoint.d/40-uberos-auth.sh
RUN chmod +x /docker-entrypoint.d/40-uberos-auth.sh

Expand Down
7 changes: 7 additions & 0 deletions services/ros/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ FROM ros:${ROS_DISTRO}-ros-base
ARG ROS_DISTRO
ENV ROS_DISTRO=${ROS_DISTRO}

# OCI provenance labels. UBEROS_VERSION defaults to `dev` for local builds and
# is overridden at release time (FR-A5). See docs/VERSIONING.md.
Comment thread
jmservera marked this conversation as resolved.
ARG UBEROS_VERSION=dev
LABEL org.opencontainers.image.version="${UBEROS_VERSION}" \
org.opencontainers.image.title="uberos-ros" \
org.opencontainers.image.source="https://github.com/jmservera/UbeROS"

# Install colcon toolchain, rosbridge, rosapi, and utilities.
# procps provides pgrep; curl/wget used by tooling and health probing.
#
Expand Down
7 changes: 7 additions & 0 deletions services/turtlesim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ FROM ros:${ROS_DISTRO}-ros-base
ARG ROS_DISTRO
ENV ROS_DISTRO=${ROS_DISTRO}

# OCI provenance labels. UBEROS_VERSION defaults to `dev` for local builds and
# is overridden at release time (FR-A5). See docs/VERSIONING.md.
Comment thread
jmservera marked this conversation as resolved.
ARG UBEROS_VERSION=dev
LABEL org.opencontainers.image.version="${UBEROS_VERSION}" \
org.opencontainers.image.title="uberos-turtlesim" \
org.opencontainers.image.source="https://github.com/jmservera/UbeROS"

# turtlesim + the VNC toolchain (Xvfb framebuffer, openbox window manager,
# x11vnc export, novnc/websockify browser bridge). x11-utils provides xdpyinfo
# for the framebuffer readiness probe; curl is used by the container health check.
Expand Down
Loading