Skip to content

Commit

Permalink
Merge pull request #10 from zowe/update-dockerfiles
Browse files Browse the repository at this point in the history
Update dockerfiles to Node 18, add python3 pre-req to minimal
  • Loading branch information
awharn authored May 8, 2024
2 parents 7a350ae + 937cfa3 commit 702ee05
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions cli/basic-with-nvm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ENV ENV=${bashEnv}
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
ENV DEFAULT_NODE_VERSION=16.17.0
ENV DEFAULT_NODE_VERSION=18
ENV DEBIAN_FRONTEND="noninteractive"
ARG loginFile=pam.d.config

Expand All @@ -32,7 +32,7 @@ RUN apt-get update -qqy &&\
apt-get -qqy install --no-install-recommends git curl libxss1 vim nano openssh-server software-properties-common cmake gnome-keyring libsecret-1-dev dbus-x11 &&\
apt-get -q autoremove &&\
mkdir -p /var/run/sshd &&\
curl -fsSL https://deb.nodesource.com/setup_16.x | bash - &&\
curl -fsSL "https://deb.nodesource.com/setup_${DEFAULT_NODE_VERSION}.x" | bash - &&\
apt-get -qqy install nodejs build-essential &&\
apt-get -q autoremove &&\
apt-get -qqy clean &&\
Expand Down
2 changes: 1 addition & 1 deletion cli/basic/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ENV ENV=${bashEnv}
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
ENV DEFAULT_NODE_VERSION=16
ENV DEFAULT_NODE_VERSION=18
ENV DEBIAN_FRONTEND="noninteractive"
ARG loginFile=pam.d.config

Expand Down
2 changes: 1 addition & 1 deletion cli/jenkins-agent/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ FROM ubuntu:focal
USER root

ARG IMAGE_VERSION_ARG
ARG DEFAULT_NODE_VERSION=${IMAGE_VERSION_ARG:-16}
ARG DEFAULT_NODE_VERSION=${IMAGE_VERSION_ARG:-18}
ENV DEBIAN_FRONTEND="noninteractive"
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
Expand Down
4 changes: 2 additions & 2 deletions cli/minimal/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
FROM ubuntu:focal

USER root
ENV DEFAULT_NODE_VERSION=16
ENV DEFAULT_NODE_VERSION=18
ENV ZOWE_VERSION=zowe-v2-lts
ENV DEBIAN_FRONTEND="noninteractive"

Expand All @@ -18,7 +18,7 @@ RUN useradd zowe --shell /bin/bash --create-home && echo 'zowe:zowe' | chpasswd
RUN echo "cd ~" >> /home/zowe/.bashrc

# Install Node, plugin prereqs
RUN apt-get update && apt-get install -y curl build-essential && curl -fsSL https://deb.nodesource.com/setup_${DEFAULT_NODE_VERSION}.x | bash - && apt-get install -y nodejs && apt-get -q autoremove && apt-get -q clean -y && rm -rf /var/lib/apt/lists/* /var/cache/apt/*.bin
RUN apt-get update && apt-get install -y curl build-essential python3 && curl -fsSL https://deb.nodesource.com/setup_${DEFAULT_NODE_VERSION}.x | bash - && apt-get install -y nodejs && apt-get -q autoremove && apt-get -q clean -y && rm -rf /var/lib/apt/lists/* /var/cache/apt/*.bin

# Install Zowe CLI
RUN npm install -g @zowe/cli@${ZOWE_VERSION} --ignore-scripts
Expand Down

0 comments on commit 702ee05

Please sign in to comment.