Skip to content

Commit 7ab19a3

Browse files
committed
Fix env for app_root to avoid handolint error
1 parent ab19d0a commit 7ab19a3

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

rstudio/c9s-python-3.12/Dockerfile.cpu

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,10 @@ COPY ${RSTUDIO_SOURCE_CODE}/install_packages.R ./
106106
RUN R -f ./install_packages.R && \
107107
rm ./install_packages.R
108108

109+
ENV APP_ROOT=/opt/app-root
110+
109111
# Install NGINX to proxy RStudio and pass probes check
110-
ENV APP_ROOT=/opt/app-root \
111-
NGINX_VERSION=1.24 \
112+
ENV NGINX_VERSION=1.24 \
112113
NGINX_SHORT_VER=124 \
113114
NGINX_CONFIGURATION_PATH=${APP_ROOT}/etc/nginx.d \
114115
NGINX_CONF_PATH=/etc/nginx/nginx.conf \

rstudio/c9s-python-3.12/Dockerfile.cuda

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,10 @@ COPY ${RSTUDIO_SOURCE_CODE}/install_packages.R ./
106106
RUN R -f ./install_packages.R && \
107107
rm ./install_packages.R
108108

109+
ENV APP_ROOT=/opt/app-root
110+
109111
# Install NGINX to proxy RStudio and pass probes check
110-
ENV APP_ROOT=/opt/app-root \
111-
NGINX_VERSION=1.24 \
112+
ENV NGINX_VERSION=1.24 \
112113
NGINX_SHORT_VER=124 \
113114
NGINX_CONFIGURATION_PATH=${APP_ROOT}/etc/nginx.d \
114115
NGINX_CONF_PATH=/etc/nginx/nginx.conf \

rstudio/rhel9-python-3.12/Dockerfile.cpu

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,10 @@ COPY ${RSTUDIO_SOURCE_CODE}/install_packages.R ./
138138
RUN R -f ./install_packages.R && \
139139
rm ./install_packages.R
140140

141+
ENV APP_ROOT=/opt/app-root
142+
141143
# Install NGINX to proxy RStudio and pass probes check
142-
ENV APP_ROOT=/opt/app-root \
143-
NGINX_VERSION=1.24 \
144+
ENV NGINX_VERSION=1.24 \
144145
NGINX_SHORT_VER=124 \
145146
NGINX_CONFIGURATION_PATH=${APP_ROOT}/etc/nginx.d \
146147
NGINX_CONF_PATH=/etc/nginx/nginx.conf \

rstudio/rhel9-python-3.12/Dockerfile.cuda

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,10 @@ COPY ${RSTUDIO_SOURCE_CODE}/install_packages.R ./
149149
RUN R -f ./install_packages.R && \
150150
rm ./install_packages.R
151151

152+
ENV APP_ROOT=/opt/app-root
153+
152154
# Install NGINX to proxy RStudio and pass probes check
153-
ENV APP_ROOT=/opt/app-root \
155+
ENV NGINX_VERSION=1.24 \
154156
NGINX_VERSION=1.24 \
155157
NGINX_SHORT_VER=124 \
156158
NGINX_CONFIGURATION_PATH=${APP_ROOT}/etc/nginx.d \

0 commit comments

Comments
 (0)