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 Dockerfile - base on almalinux:8.7 #136

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,28 @@
# The docker host is an AWS Linux machine
#-----------------------------------------------------------------------

FROM centos:7
FROM almalinux:8.7
MAINTAINER Joe Goldberg <[email protected]>

ARG CTMHOST
ARG CTMENV

# install basic packages
RUN yum -y update \
&& yum -y install wget \
&& yum -y install unzip \
&& yum -y install sudo \
&& yum -y install net-tools \
&& yum -y install psmisc
RUN rpm --import https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux \
&& yum -y update \
&& yum -y install -q wget \
&& yum -y install -q unzip \
&& yum -y install -q sudo \
&& yum -y install -q net-tools \
&& yum -y install -q psmisc

# install nodejs
RUN curl --silent --location https://rpm.nodesource.com/setup_6.x | bash - \
&& yum -y install nodejs \
RUN yum -y install -q nodejs \
&& node -v \
&& npm -v

# install java 8
RUN yum -y install java-1.8.0-openjdk \
# install java 11
RUN yum -y install -q java-11-openjdk \
&& java -version

# install ctm-automation-api kit
Expand Down Expand Up @@ -54,7 +54,7 @@ RUN ctm env set myctm

# provision controlm agent image
RUN cd \
&& ctm provision image Agent.Linux
&& ctm provision image Agent_Alma.Linux

# enable controlm agent utilities
RUN echo "source /home/ec2-user/.bash_profile" >> /home/ec2-user/.bashrc
Expand Down