CentOS base container image with development tools
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
This commit is contained in:
parent
cdccdceae6
commit
55873d66ff
@ -1,3 +1,4 @@
|
|||||||
ceph/ceph-manager
|
ceph/ceph-manager
|
||||||
|
tools/base-images/stx-centos-dev
|
||||||
tools/vran-tools/stx-centos-tools-dev
|
tools/vran-tools/stx-centos-tools-dev
|
||||||
utilities/pci-irq-affinity-agent
|
utilities/pci-irq-affinity-agent
|
||||||
|
36
tools/base-images/stx-centos-dev/centos/docker/Dockerfile
Normal file
36
tools/base-images/stx-centos-dev/centos/docker/Dockerfile
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
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/*
|
63
tools/base-images/stx-centos-dev/centos/docker/stx-dev.repo
Normal file
63
tools/base-images/stx-centos-dev/centos/docker/stx-dev.repo
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
[stx-compiler-outputs-installer]
|
||||||
|
name=stx-compiler-outputs-installer
|
||||||
|
baseurl=http://mirror.starlingx.cengn.ca/mirror/starlingx/master/centos/compiler/latest_build/outputs/RPMS/installer/
|
||||||
|
enabled=1
|
||||||
|
gpgcheck=0
|
||||||
|
metadata_expire=0
|
||||||
|
priority=1
|
||||||
|
|
||||||
|
[stx-compiler-outputs-rt]
|
||||||
|
name=stx-compiler-outputs-rt
|
||||||
|
baseurl=http://mirror.starlingx.cengn.ca/mirror/starlingx/master/centos/compiler/latest_build/outputs/RPMS/rt/
|
||||||
|
enabled=1
|
||||||
|
gpgcheck=0
|
||||||
|
metadata_expire=0
|
||||||
|
priority=1
|
||||||
|
|
||||||
|
[stx-compiler-outputs-std]
|
||||||
|
name=stx-compiler-outputs-std
|
||||||
|
baseurl=http://mirror.starlingx.cengn.ca/mirror/starlingx/master/centos/compiler/latest_build/outputs/RPMS/std/
|
||||||
|
enabled=1
|
||||||
|
gpgcheck=0
|
||||||
|
metadata_expire=0
|
||||||
|
priority=1
|
||||||
|
|
||||||
|
[stx-distro-outputs-installer]
|
||||||
|
name=stx-distro-outputs-installer
|
||||||
|
baseurl=http://mirror.starlingx.cengn.ca/mirror/starlingx/master/centos/distro/latest_build/outputs/RPMS/installer/
|
||||||
|
enabled=1
|
||||||
|
gpgcheck=0
|
||||||
|
metadata_expire=0
|
||||||
|
priority=1
|
||||||
|
|
||||||
|
[stx-distro-outputs-rt]
|
||||||
|
name=stx-distro-outputs-rt
|
||||||
|
baseurl=http://mirror.starlingx.cengn.ca/mirror/starlingx/master/centos/distro/latest_build/outputs/RPMS/rt/
|
||||||
|
enabled=1
|
||||||
|
gpgcheck=0
|
||||||
|
metadata_expire=0
|
||||||
|
priority=1
|
||||||
|
|
||||||
|
[stx-distro-outputs-std]
|
||||||
|
name=stx-distro-outputs-std
|
||||||
|
baseurl=http://mirror.starlingx.cengn.ca/mirror/starlingx/master/centos/distro/latest_build/outputs/RPMS/std/
|
||||||
|
enabled=1
|
||||||
|
gpgcheck=0
|
||||||
|
metadata_expire=0
|
||||||
|
priority=1
|
||||||
|
|
||||||
|
[stx-flock-outputs-rt]
|
||||||
|
name=stx-flock-outputs-rt
|
||||||
|
baseurl=http://mirror.starlingx.cengn.ca/mirror/starlingx/master/centos/flock/latest_build/outputs/RPMS/rt/
|
||||||
|
enabled=1
|
||||||
|
gpgcheck=0
|
||||||
|
metadata_expire=0
|
||||||
|
priority=1
|
||||||
|
|
||||||
|
[stx-flock-outputs-std]
|
||||||
|
name=stx-flock-outputs-std
|
||||||
|
baseurl=http://mirror.starlingx.cengn.ca/mirror/starlingx/master/centos/flock/latest_build/outputs/RPMS/std/
|
||||||
|
enabled=1
|
||||||
|
gpgcheck=0
|
||||||
|
metadata_expire=0
|
||||||
|
priority=1
|
@ -0,0 +1,2 @@
|
|||||||
|
BUILDER=docker
|
||||||
|
LABEL=stx-centos-dev
|
Loading…
x
Reference in New Issue
Block a user