Skip to content

Commit

Permalink
fix for CentOS EoL
Browse files Browse the repository at this point in the history
  • Loading branch information
hvalev committed Oct 12, 2024
1 parent c9df24e commit 30978d8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 18 deletions.
9 changes: 0 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,21 +48,12 @@ RUN wget https://cran.rstudio.com/src/base/R-4/${V_RStudio}.tar.gz && \
cd /usr/local/src/ && \
rm -rf ${V_RStudio}*

# #Set python3 as the default python
# RUN rm /usr/bin/python && \
# ln -s /usr/bin/python3 /usr/bin/python

#Install shiny-server with fix for arm architectures
WORKDIR /
RUN git clone --depth 1 --branch ${V_ShinyServer} https://github.com/rstudio/shiny-server.git && \
mkdir shiny-server/tmp
COPY binding.gyp /shiny-server/tmp/binding.gyp

#Automagically determine arch and replace it in hash values and links
COPY determine_arch.sh /determine_arch.sh
RUN chmod +x determine_arch.sh && \
./determine_arch.sh

ARG PYTHON=`which python3`

WORKDIR /shiny-server/tmp/
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Although you can install R libraries post-install, you could also bake those in
```RUN R -e "install.packages(c('shiny', 'Cairo'), repos='http://cran.rstudio.com/')"```.
Cairo is needed for the hello-world preloaded app. If it's missing the histogram won't be loaded.

### Node.js
### Node.js (DEPRECATED since R4.4.1-S1.5.23.1030)
I have written the [determine_arch.sh](https://github.com/hvalev/shiny-server-arm-docker/blob/master/determine_arch.sh) script, which automagically determines the architecture it's running on, fetches the appropriate node.js checksum and replaces it in the install-node.sh file. It should be future-proof as the reference node.js version is taken from the cloned shiny-server repository itself.

## Acknowledgements
Expand Down
8 changes: 0 additions & 8 deletions determine_arch.sh

This file was deleted.

0 comments on commit 30978d8

Please sign in to comment.