File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11ARG HPCTS_VERSION=latest
22
33FROM --platform=linux/amd64 ubccr/hpcts:slurm-${HPCTS_VERSION} as stage-amd64
4- RUN dnf install -y https://yum.osc.edu/ondemand/2 .0/ondemand-release-web-2 .0-1.noarch.rpm
4+ RUN dnf install -y https://yum.osc.edu/ondemand/3 .0/ondemand-release-web-3 .0-1.noarch.rpm
55RUN dnf install -y netcat ondemand ondemand-dex
6- RUN sed -i 's/\- nohttpd//' /opt/ood/ondemand/root/usr/share/gems/2.7/ondemand/2.0.27/gems/ood_core-0.19.0/lib/ood_core/batch_connect/templates/vnc.rb
76
87FROM --platform=linux/arm64 ubccr/hpcts:slurm-${HPCTS_VERSION} as stage-arm64
98RUN dnf install -y file lsof sudo gcc gcc-c++ git \
@@ -16,7 +15,6 @@ COPY . /build
1615RUN /build/install-dex-arm64.sh
1716RUN /build/install-passenger-arm64.sh
1817RUN /build/install-ood-arm64.sh
19- RUN sed -i 's/\- nohttpd//' /usr/share/gems/gems/ood_core-0.19.0/lib/ood_core/batch_connect/templates/vnc.rb
2018RUN rm -rf /build
2119
2220ARG TARGETARCH
@@ -35,6 +33,4 @@ COPY notebook_data /data/notebook_data
3533COPY initializers/dashboard.rb /etc/ood/config/apps/dashboard/initializers/dashboard.rb
3634COPY themes/hpc-coop /usr/share/ondemand-dex/web/themes/hpc-coop
3735
38- RUN sed -i '/ passenger_load_shell_envvars off;/a passenger_preload_bundler on;' /opt/ood/nginx_stage/templates/pun.conf.erb
39-
4036ENTRYPOINT ["/usr/local/bin/entrypoint.sh" ]
Original file line number Diff line number Diff line change 1313 vnc :
1414 script_wrapper : |
1515 export PATH="/opt/TurboVNC/bin:$PATH"
16- export WEBSOCKIFY_CMD="/usr/bin/websockify"
16+ export WEBSOCKIFY_CMD="/usr/local/ bin/websockify"
1717 %s
1818 custom :
1919 xdmod :
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ log_info() {
77 printf " \n\e[0;35m $1 \e[0m\n\n"
88}
99
10- DEX_VERSION=${DEX_VERSION:- 2.31.1 }
11- DEX_PATCH_VERSION=${DEX_PATCH_VERSION:- 703e26bc109e86d00be22ef1803bdb96b2dc09e2 }
10+ DEX_VERSION=${DEX_VERSION:- 2.32.0 }
11+ DEX_PATCH_VERSION=${DEX_PATCH_VERSION:- 9366a1969bd656daa1df44e0bdd02f14437ed466 }
1212
1313dnf install -y golang-bin
1414log_info " Install dex ${DEX_VERSION} ..."
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ sh autogen.sh
2828make && make install
2929
3030cd $BUILD_DIR
31- OOD_VERSION=' 2 .0.27 '
31+ OOD_VERSION=' 3 .0.0 '
3232wget " https://github.com/OSC/ondemand/archive/refs/tags/v$OOD_VERSION .tar.gz"
3333tar -xf " v$OOD_VERSION .tar.gz"
3434cd ondemand-$OOD_VERSION
Original file line number Diff line number Diff line change 3838node_uri: "/node"
3939rnode_uri: "/rnode"
4040oidc_scope: "openid profile email groups"
41+ dex_uri: false
4142dex:
4243 client_redirect_uris:
4344 - "https://localhost:4443/simplesaml/module.php/authoidcoauth2/linkback.php"
You can’t perform that action at this time.
0 commit comments