Skip to content

Commit

Permalink
fix(containers): fix rocky build times and unzip error
Browse files Browse the repository at this point in the history
  • Loading branch information
dotmh committed Jun 12, 2024
1 parent 58a2089 commit fd897c3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.0
3.2.0
8 changes: 2 additions & 6 deletions containers/Rocky.Cloud.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,8 @@ LABEL org.opencontainers.image.source https://github.com/dotmh/devcontainer
LABEL org.opencontainers.image.licenses apache-2.0

# Install Terraform
RUN dnf install -y dnf-plugins-core &&\
dnf config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo &&\
RUN dnf config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo &&\
dnf install terraform -y

# Install AWS
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" &&\
which unzip &&\
\unzip ./awscliv2.zip &&\
./aws/install
RUN dnf -y install awscli
19 changes: 7 additions & 12 deletions containers/Rocky.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,15 @@ LABEL dev.containers.features="common"
LABEL org.opencontainers.image.source https://github.com/dotmh/devcontainer
LABEL org.opencontainers.image.licenses apache-2.0

# Set up extended repos
RUN dnf -y install dnf-plugins-core &&\
dnf -y install epel-release

RUN dnf -y update

# Instal Development Tools (going to need these)
RUN dnf -y group install "Development Tools"

# Install some quailty of life utils
RUN dnf -y install wget && dnf -y install unzip

# Install RUST this is for EZA , BAT and Just
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

# Install ZSH
RUN dnf -y install util-linux-user &&\
dnf -y install zsh &&\
Expand All @@ -24,13 +22,10 @@ RUN dnf -y install util-linux-user &&\
RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

# Install EZA https://github.com/eza-community/eza
RUN . "$HOME/.cargo/env" &&\
cargo install eza
RUN dnf -y install eza

# Install BAT https://github.com/sharkdp/bat
RUN . "$HOME/.cargo/env" &&\
cargo install bat
RUN dnf -y install bat

# Install Just https://github.com/casey/just
RUN . "$HOME/.cargo/env" &&\
cargo install just
RUN curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to /usr/bin

0 comments on commit fd897c3

Please # to comment.