Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

propose new labels and data format #477

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
14 changes: 14 additions & 0 deletions product/base/Dockerfile.ubuntu1804
Original file line number Diff line number Diff line change
Expand Up @@ -140,5 +140,19 @@ LABEL posit.r.version="${R_VERSION}" \
posit.python.version_alt="${PYTHON_VERSION_ALT}" \
posit.tini.version="${TINI_VERSION}" \
posit.quarto.version="${QUARTO_VERSION}"
LABEL org.opencontainers.image.source = "https://github.com/rstudio/rstudio-docker-products" \
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: we can probably make this a single LABEL block if we want to keep the above labels, but I also wouldn't be opposed to replacing them completely since I doubt they have been heavily used yet

org.opencontainers.image.description='A product base image designed to run Posit Professional Products' \
org.opencontainers.image.title='Posit Product Base Image' \
org.opencontainers.image.version='v1' \
org.opencontainers.image.url='https://www.posit.co/' \
posit.os='ubuntu1804' \
posit.quarto.versions="[{\"version\": \"${QUARTO_VERSION}\", \"path\": \"/opt/quarto/${QUARTO_VERSION}\", \"label\": \"quarto-${QUARTO_VERSION}\"}]" \
posit.quarto.included=true \
posit.python.versions="[{\"version\": \"${PYTHON_VERSION}\", \"path\": \"/opt/python/${PYTHON_VERSION}\", \"label\": \"python-${PYTHON_VERISON}\"}, {\"version\": \"${PYTHON_VERSION_ALT}\", \"path\": \"/opt/python/${PYTHON_VERSION_ALT}\", \"label\": \"python-${PYTHON_VERSION_ALT}\"}]" \
posit.python.included=true
posit.r.versions="[{\"version\": \"${R_VERSION}\", \"path\": \"/opt/R/${R_VERSION}\", \"label\": \"R-${R_VERSION}\"}, {\"version\": \"${R_VERSION_ALT}\", \"path\": \"/opt/R/${R_VERSION_ALT}\", \"label\": \"R-${R_VERSION_ALT}\"}]" \
posit.r.included=true \
posit.tini.versions="[{\"version\": \"${TINI_VERSION}\", \"path\": \"/tini\", \"label\": \"tini\"}]" \
posit.tini.included=true

ENTRYPOINT ["/tini", "--"]