Skip to content
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

Update dockerfiles to Node 18, add python3 pre-req to minimal #10

Merged
merged 1 commit into from
May 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading