Skip to content

Commit

Permalink
bump tool versions on reports image, some text formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
brianhenryhf committed Oct 30, 2024
1 parent f08dcad commit dfc44fa
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .docker/Dockerfile.gha-reports
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
#################################################
# Rails existing prod image, to be supplemented #
#################################################

ARG SOURCE_IMAGE

FROM ${SOURCE_IMAGE}

# Switch back to root to install system libraries
Expand All @@ -13,16 +11,24 @@ SHELL ["/bin/bash", "-c"]
RUN apt-get update \
&& apt-get -yq dist-upgrade \
&& apt-get install -y \
openssh-client lftp
openssh-client \
lftp

RUN touch ~/.bashrc
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
ENV BASH_ENV=~/.bashrc
RUN nvm install 18.19.0 && \
nvm use 18 && nvm alias default 18 && \
npm install -g npm@10.4.0 && npm install -g secure-spreadsheet

RUN curl https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip -o "awscliv2.zip" && unzip awscliv2.zip && ./aws/install && rm awscliv2.zip
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
RUN nvm install 20 && \
nvm use 20 && nvm alias default 20 && \
npm install -g npm@10.9.0 && \
npm install -g secure-spreadsheet

RUN curl https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip -o "awscliv2.zip" && \
unzip awscliv2.zip && \
./aws/install && \
rm awscliv2.zip

# TODO - confirm correct version to use - 1.30.0 matches other existing servers and is on aws eks supported list?
RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.22.10/bin/linux/amd64/kubectl
RUN chmod 744 ./kubectl
RUN mv ./kubectl /usr/local/bin/kubectl

0 comments on commit dfc44fa

Please sign in to comment.