Skip to content

Commit

Permalink
Add ruby, docker, and custom zsh theme
Browse files Browse the repository at this point in the history
  • Loading branch information
jpwhite3 committed Dec 14, 2023
1 parent 72df993 commit 32d7fc7
Show file tree
Hide file tree
Showing 3 changed files with 686 additions and 13 deletions.
21 changes: 17 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ RUN apt update \
# JAVA LATEST
openjdk-20-jdk-headless \
# .NET-CORE LATEST
dotnet6 \
dotnet6 \
# Ruby LATEST
ruby-full rbenv \
# CLEAN UP
&& apt-get purge --auto-remove -y \
&& apt-get clean \
Expand All @@ -44,6 +46,9 @@ RUN apt update \

# Zshell Configuration
RUN chsh -s $(which zsh)
RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended
COPY polyglot.zsh-theme /root/.oh-my-zsh/themes/polyglot.zsh-theme
RUN sed -i 's/ZSH_THEME="robbyrussell"/ZSH_THEME="polyglot"/' /root/.zshrc

# Git Configuration
RUN \
Expand All @@ -59,8 +64,8 @@ RUN \

# GO installation
RUN \
curl -OL https://go.dev/dl/go1.21.3.linux-amd64.tar.gz \
&& tar -C /usr/local -xvf go1.21.3.linux-amd64.tar.gz \
curl -OL https://go.dev/dl/go1.21.5.linux-amd64.tar.gz \
&& tar -C /usr/local -xvf go1.21.5.linux-amd64.tar.gz \
&& ln -s /usr/local/go/bin/go /usr/bin/go

# Node installation with nvm
Expand All @@ -77,17 +82,25 @@ RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | b
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"

# Docker installation
RUN curl -fsSL https://get.docker.com | sh

# Print versions
RUN \
echo "Tool versions:" \
&& python --version \
&& pip --version \
&& poetry --version \
&& pipenv --version \
&& java -version \
&& go version \
&& dotnet --version \
&& node --version \
&& npm --version \
&& rustup --version \
&& rustc --version
&& rustc --version \
&& ruby --version \
&& gem --version \
&& rbenv --version \
&& docker --version

20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Multi programming language container image built for interactive development env
- [Coder](https://coder.com)
- [GitHub Codespaces](https://github.com/features/codespaces)
- [JupyterLab](https://jupyter.org)
- CICD Systems
- [GitLab](https://about.gitlab.com)
- etc.

_NOTE:_ This image is on the large side, around 2.5GB in total. This makes it too big for most large scale uses. But in small scale it seems to work quite well despite its size.
Expand All @@ -18,14 +18,16 @@ This image is based on Ubuntu 23.10 (mantic)

## Included Languages & Tools

- Node == 18.18.0
- nvm == 0.39.5
- npm == 9.8.1
- Java == 20.0.2
- Dotnet == 6.0.122
- Python == 3.11.5
- Poetry == 1.1.13
- GO == 1.21.1
| Language Ecosystem | Version | Included Tools |
| ------------------ | -------- | -------------- |
| Node | 20.10.0 | nvm, npm |
| Python | 3.11.5 | Poetry, pipenv |
| Ruby | 3.1.2p20 | gem, rbenv |
| Java | 20.0.2 | |
| Dotnet | 6.0.122 | |
| GO | 1.21.5 | |
| Rust | 1.74.1 | |
| Docker | 24.0.7 | |

# Build Instructions

Expand Down
Loading

0 comments on commit 32d7fc7

Please sign in to comment.