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

add gdb, strace to workbench Dockerfile #892

Merged
merged 1 commit into from
Jan 28, 2025
Merged
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
2 changes: 2 additions & 0 deletions workbench/Dockerfile.ubuntu2204
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM product-base-pro as build

Check failure on line 1 in workbench/Dockerfile.ubuntu2204

View workflow job for this annotation

GitHub Actions / lint-workbench-ubuntu2204

DL3049 info: Label `maintainer` is missing.

Check warning on line 1 in workbench/Dockerfile.ubuntu2204

View workflow job for this annotation

GitHub Actions / Workbench

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 1 in workbench/Dockerfile.ubuntu2204

View workflow job for this annotation

GitHub Actions / Workbench - Daily

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 1 in workbench/Dockerfile.ubuntu2204

View workflow job for this annotation

GitHub Actions / Workbench - Preview

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

ARG DEBIAN_FRONTEND=noninteractive
ARG R_VERSION=4.4.0
Expand All @@ -12,23 +12,24 @@
ARG RSW_DOWNLOAD_URL=https://download2.rstudio.org/server/jammy/amd64
ARG SCRIPTS_DIR=/opt/positscripts

ENV STARTUP_DEBUG_MODE 0

Check warning on line 15 in workbench/Dockerfile.ubuntu2204

View workflow job for this annotation

GitHub Actions / Workbench

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

Check warning on line 15 in workbench/Dockerfile.ubuntu2204

View workflow job for this annotation

GitHub Actions / Workbench - Daily

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
ENV RSW_LICENSE ""

Check warning on line 16 in workbench/Dockerfile.ubuntu2204

View workflow job for this annotation

GitHub Actions / Workbench

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

Check warning on line 16 in workbench/Dockerfile.ubuntu2204

View workflow job for this annotation

GitHub Actions / Workbench - Daily

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
ENV RSW_LICENSE_SERVER ""

Check warning on line 17 in workbench/Dockerfile.ubuntu2204

View workflow job for this annotation

GitHub Actions / Workbench - Daily

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
ENV RSW_TESTUSER rstudio

Check warning on line 18 in workbench/Dockerfile.ubuntu2204

View workflow job for this annotation

GitHub Actions / Workbench - Daily

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

Check warning on line 18 in workbench/Dockerfile.ubuntu2204

View workflow job for this annotation

GitHub Actions / Workbench - Preview

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
ENV RSW_TESTUSER_PASSWD rstudio

Check warning on line 19 in workbench/Dockerfile.ubuntu2204

View workflow job for this annotation

GitHub Actions / Workbench - Daily

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

Check warning on line 19 in workbench/Dockerfile.ubuntu2204

View workflow job for this annotation

GitHub Actions / Workbench - Daily

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "RSW_TESTUSER_PASSWD") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
ENV RSW_TESTUSER_UID 10000
ENV RSW_LAUNCHER true

Check warning on line 21 in workbench/Dockerfile.ubuntu2204

View workflow job for this annotation

GitHub Actions / Workbench

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
ENV RSW_LAUNCHER_TIMEOUT 10

Check warning on line 22 in workbench/Dockerfile.ubuntu2204

View workflow job for this annotation

GitHub Actions / Workbench

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

Check warning on line 22 in workbench/Dockerfile.ubuntu2204

View workflow job for this annotation

GitHub Actions / Workbench - Daily

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

Check warning on line 22 in workbench/Dockerfile.ubuntu2204

View workflow job for this annotation

GitHub Actions / Workbench - Preview

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
ENV DIAGNOSTIC_DIR /var/log/rstudio

Check warning on line 23 in workbench/Dockerfile.ubuntu2204

View workflow job for this annotation

GitHub Actions / Workbench

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

Check warning on line 23 in workbench/Dockerfile.ubuntu2204

View workflow job for this annotation

GitHub Actions / Workbench - Daily

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

Check warning on line 23 in workbench/Dockerfile.ubuntu2204

View workflow job for this annotation

GitHub Actions / Workbench - Preview

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
ENV DIAGNOSTIC_ENABLE false

Check warning on line 24 in workbench/Dockerfile.ubuntu2204

View workflow job for this annotation

GitHub Actions / Workbench

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

Check warning on line 24 in workbench/Dockerfile.ubuntu2204

View workflow job for this annotation

GitHub Actions / Workbench - Preview

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
ENV DIAGNOSTIC_ONLY false

Check warning on line 25 in workbench/Dockerfile.ubuntu2204

View workflow job for this annotation

GitHub Actions / Workbench - Preview

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

ENV WORKBENCH_JUPYTER_PATH=/usr/local/bin/jupyter

SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN apt-get update \
&& apt-get install --no-install-recommends -y \
gdb \
krb5-user \
libcap2 \
libcurl4-gnutls-dev \
Expand All @@ -45,6 +46,7 @@
oddjob-mkhomedir \
rrdtool \
sssd \
strace \
supervisor \
&& RSW_VERSION_URL=$(echo -n "${RSW_VERSION}" | sed 's/+/-/g') \
&& curl -fsSL -o rstudio-workbench.deb "${RSW_DOWNLOAD_URL}/${RSW_NAME}-${RSW_VERSION_URL}-amd64.deb" \
Expand Down
Loading