![Guilherme Alberici de Santi](/assets/img/avatar_default.png)
Providing a CentOS base image with development tools like make, gcc, unzip, etc. The image is just the base image stx-centos with the development tools added. Story: 2009990 Task: 45058 Signed-off-by: Guilherme Alberici de Santi <guilherme.albericidesanti@windriver.com> Change-Id: Ic367b8b7b4739c584e216b2fac60864e8ab7eda5
36 lines
792 B
Docker
36 lines
792 B
Docker
ARG BASE
|
|
FROM ${BASE}
|
|
COPY stx-dev.repo /etc/yum.repos.d/stx.repo
|
|
RUN yum-config-manager --disable stx-local-build stx-mirror-distro \
|
|
&& yum -y install yum-plugin-priorities \
|
|
&& yum-config-manager --enableplugin=priorities
|
|
RUN set -ex \
|
|
&& yum upgrade -y \
|
|
&& yum install -y \
|
|
sudo \
|
|
bash \
|
|
python3-yaml \
|
|
git \
|
|
curl \
|
|
unzip \
|
|
wget \
|
|
make \
|
|
autogen \
|
|
automake \
|
|
autoconf-archive \
|
|
bc \
|
|
bison \
|
|
isomd5sum \
|
|
gettext \
|
|
mkisofs \
|
|
gcc \
|
|
gcc-c++ \
|
|
kernel-tools \
|
|
kernel-devel \
|
|
libcap-devel \
|
|
libuuid-devel \
|
|
&& yum clean all \
|
|
&& rm -rf \
|
|
/var/log/* \
|
|
/tmp/* \
|
|
/var/tmp/* |