added docker-images/Dockerfile.dev-gcc-centos6
This commit is contained in:
parent
9e227e7254
commit
67aceb134b
11
docker-images/Dockerfile.dev-gcc-centos6
Normal file
11
docker-images/Dockerfile.dev-gcc-centos6
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
## centos6 image to use for building hawk
|
||||||
|
|
||||||
|
FROM docker.io/centos:6
|
||||||
|
|
||||||
|
COPY vault-centos6.repo /etc/yum.repos.d/CentOS-Base.repo
|
||||||
|
|
||||||
|
RUN groupadd -g 1000 rockstar && useradd -u 1000 -g 1000 -m rockstar && groupmems -g wheel -a rockstar
|
||||||
|
|
||||||
|
RUN ulimit -n 1024 && yum -y install mysql-devel libffi-devel rpm-build gcc gcc-c++ sudo readline-devel ncurses-devel
|
||||||
|
|
||||||
|
RUN echo -e '%wheel ALL=(ALL) NOPASSWD: ALL\nrockstar ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/99-wheel
|
@ -2,7 +2,6 @@ build: dev-go-centos7
|
|||||||
|
|
||||||
publish: publish-dev-go-centos7
|
publish: publish-dev-go-centos7
|
||||||
|
|
||||||
|
|
||||||
dev-go-centos7:
|
dev-go-centos7:
|
||||||
docker build -t dev:go1.20.6.centos7 -f Dockerfile.$@ .
|
docker build -t dev:go1.20.6.centos7 -f Dockerfile.$@ .
|
||||||
|
|
||||||
@ -30,3 +29,7 @@ dev-gcc-rocky9:
|
|||||||
publish-dev-gcc-rocky9:
|
publish-dev-gcc-rocky9:
|
||||||
docker tag dev:gcc.rocky9 docker.io/hyunghwan/dev:gcc.rocky9
|
docker tag dev:gcc.rocky9 docker.io/hyunghwan/dev:gcc.rocky9
|
||||||
docker push docker.io/hyunghwan/dev:gcc.rocky9
|
docker push docker.io/hyunghwan/dev:gcc.rocky9
|
||||||
|
|
||||||
|
dev-gcc-centos6:
|
||||||
|
docker build -t dev:gcc.centos6 -f Dockerfile.$@ .
|
||||||
|
|
||||||
|
19
docker-images/vault-centos6.repo
Normal file
19
docker-images/vault-centos6.repo
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
[base]
|
||||||
|
name=CentOS-$releasever - Base
|
||||||
|
baseurl=http://vault.centos.org/$releasever.10/os/$basearch/
|
||||||
|
gpgcheck=1
|
||||||
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
|
||||||
|
|
||||||
|
#released updates
|
||||||
|
[updates]
|
||||||
|
name=CentOS-$releasever - Updates
|
||||||
|
baseurl=http://vault.centos.org/$releasever.10/updates/$basearch/
|
||||||
|
gpgcheck=1
|
||||||
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
|
||||||
|
|
||||||
|
#additional packages that may be useful
|
||||||
|
[extras]
|
||||||
|
name=CentOS-$releasever - Extras
|
||||||
|
baseurl=http://vault.centos.org/$releasever.10/extras/$basearch/
|
||||||
|
gpgcheck=1
|
||||||
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
|
Loading…
Reference in New Issue
Block a user