-
Couldn't load subscription status.
- Fork 46
Un-deprecate Some Public Example Images #281
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
Merged
Merged
Changes from 6 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
32cf04b
refactor(images/golang): undeprecated enterprise-golang
f8fe96c
refactor(images/java): undeprecated enterprise-java
fcf0d36
refactor(images/node): undeprecated enterprise-node
c4e7126
feat(images/rstudio-server): added rstudio-server example image
7ebbc23
refactor(images): removed deprecation notice
bae76ce
fix(images/rstudio-server): fixed README and Dockerfile formatting
b5c2b40
refactor(images/rstudio-server): removed rstudio-server image
e2ce39d
refactor: simplified README descriptions.
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,71 @@ | ||
| FROM codercom/enterprise-base:ubuntu | ||
|
|
||
| USER root | ||
|
|
||
| RUN apt update -y | ||
|
|
||
| # R-Base | ||
| RUN <<EOF | ||
| apt install --no-install-recommends gdebi-core nginx software-properties-common dirmngr net-tools -y | ||
| add-apt-repository "deb https://cloud.r-project.org/bin/linux/ubuntu $(lsb_release -cs)-cran40/" | ||
| apt install --no-install-recommends r-base -y | ||
| EOF | ||
|
|
||
| ARG ARCH=amd64 | ||
| ARG BUILD=rstudio-server-2024.04.2-764-${ARCH}.deb | ||
|
|
||
| # RStudio Server | ||
| RUN <<EOF | ||
| curl -fsSL -o /tmp/${BUILD} https://s3.amazonaws.com/rstudio-ide-build/server/jammy/${ARCH}/${BUILD} | ||
| echo "y" | gdebi /tmp/${BUILD} - | ||
| EOF | ||
|
|
||
| # Make directory for rstudio data in home dir | ||
| RUN mkdir /home/coder/.rstudio && \ | ||
| chown -R coder:coder /home/coder/.rstudio | ||
|
|
||
| # Allow ownership of mandatory folders/files | ||
| RUN chown -R coder:coder \ | ||
| /home/coder/.rstudio \ | ||
| /var/run/rstudio-server.pid \ | ||
| /var/lib/rstudio-server \ | ||
| /var/run/rstudio-server \ | ||
| /etc/rstudio | ||
|
|
||
| # RStudio Server Config | ||
| COPY --chown=coder:coder <<EOF /etc/rstudio/rserver.conf | ||
| server-user=coder | ||
| server-daemonize=1 | ||
| server-data-dir=/home/coder/.rstudio/data | ||
| server-pid-file=/tmp/rstudio-server.pid | ||
| auth-none=1 | ||
| www-frame-origin=same | ||
| www-address=127.0.0.1 | ||
| www-port=8787 | ||
| database-config-file=/etc/rstudio/database.conf | ||
| EOF | ||
|
|
||
| # RStudio Database | ||
| COPY --chown=coder:coder <<EOF /etc/rstudio/database.conf | ||
| provider=sqlite | ||
| directory=/home/coder/.rstudio | ||
| EOF | ||
|
|
||
| # RStudio DB Launcher | ||
| # Launcher config -- Use TLS | ||
| # If your coder deployment is NOT on tls, you will want to remove this line. | ||
| COPY --chown=coder:coder <<EOF /etc/rstudio/database.conf | ||
| enable-ssl=0 | ||
| EOF | ||
|
|
||
| # Extras | ||
| RUN <<EOF | ||
| locale-gen en_US.UTF-8 | ||
| apt install zsh fish -y | ||
| EOF | ||
|
|
||
| # Set back to coder user | ||
| USER coder | ||
|
|
||
| # Add RStudio to path | ||
| ENV PATH=/usr/lib/rstudio-server/bin:${PATH} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| # Example RStudio Server | ||
jatcod3r marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| [](https://hub.docker.com/r/codercom/rstudio-server) | ||
|
|
||
| ## Description | ||
|
|
||
| Wraps [enterprise-base](../base/README.md) and installs RStudio Server. | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.