UNCLASSIFIED

Commit 11a9eda6 authored by WingKwan Lau's avatar WingKwan Lau
Browse files

Update Dockerfile

parent e72b8bb5
Pipeline #429857 failed with stages
in 1 minute and 42 seconds
...@@ -6,7 +6,7 @@ FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} ...@@ -6,7 +6,7 @@ FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
USER 0 USER 0
RUN rpm -qa | grep -i gcc RUN which gcc
# Set necessary environment variables for python and python development environment # Set necessary environment variables for python and python development environment
ARG APP_ROOT=/opt/app-root ARG APP_ROOT=/opt/app-root
...@@ -36,7 +36,7 @@ RUN chmod a+x /usr/bin/container-entrypoint && \ ...@@ -36,7 +36,7 @@ RUN chmod a+x /usr/bin/container-entrypoint && \
# Install packages # Install packages
#RUN INSTALL_PKGS="vim-enhanced rsync iputils bind-utils git python38 python38-devel python38-setuptools python38-pip gcc" && \ #RUN INSTALL_PKGS="vim-enhanced rsync iputils bind-utils git python38 python38-devel python38-setuptools python38-pip gcc" && \
RUN INSTALL_PKGS="vim-enhanced rsync iputils bind-utils git" && \ RUN INSTALL_PKGS="vim-enhanced rsync iputils bind-utils git" && \
yum -y update-minimal --setopt=tsflags=nodocs --security && \ yum -y update-minimal --setopt=tsflags=nodocs --security && \
yum -y --setopt=tsflags=nodocs install $INSTALL_PKGS && \ yum -y --setopt=tsflags=nodocs install $INSTALL_PKGS && \
yum -y remove vim-minimal && \ yum -y remove vim-minimal && \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment