Remove CentOS and Debian from kernel factory
This commit is contained in:
parent
23f907b0f8
commit
4fbc303c4f
@ -1,14 +0,0 @@
|
|||||||
FROM centos:6
|
|
||||||
|
|
||||||
RUN yum -y groupinstall "Development Tools"
|
|
||||||
|
|
||||||
# enable rpms from old minor releases
|
|
||||||
RUN sed -i 's/enabled=0/enabled=1/' /etc/yum.repos.d/CentOS-Vault.repo
|
|
||||||
|
|
||||||
# do not remove old kernels
|
|
||||||
RUN sed -i 's;installonly_limit=;installonly_limit=100500;' /etc/yum.conf
|
|
||||||
|
|
||||||
RUN yum list --showduplicates kernel | grep kernel | awk '{print $2}' \
|
|
||||||
| while read VERSION; do \
|
|
||||||
echo kernel-devel-${VERSION} kernel-${VERSION}; \
|
|
||||||
done | xargs yum -y install
|
|
@ -1,14 +0,0 @@
|
|||||||
FROM centos:7
|
|
||||||
|
|
||||||
RUN yum -y groupinstall "Development Tools"
|
|
||||||
|
|
||||||
# enable rpms from old minor releases
|
|
||||||
RUN sed -i 's/enabled=0/enabled=1/' /etc/yum.repos.d/CentOS-Vault.repo
|
|
||||||
|
|
||||||
# do not remove old kernels
|
|
||||||
RUN sed -i 's;installonly_limit=;installonly_limit=100500;' /etc/yum.conf
|
|
||||||
|
|
||||||
RUN yum list --showduplicates kernel | grep kernel | awk '{print $2}' \
|
|
||||||
| while read VERSION; do \
|
|
||||||
echo kernel-devel-${VERSION} kernel-${VERSION}; \
|
|
||||||
done | xargs yum -y install
|
|
@ -1,4 +0,0 @@
|
|||||||
FROM debian:7
|
|
||||||
|
|
||||||
RUN apt-get update
|
|
||||||
#RUN DEBIAN_FRONTEND=noninteractive apt-get install -y...
|
|
@ -1,4 +0,0 @@
|
|||||||
FROM debian:8
|
|
||||||
|
|
||||||
RUN apt-get update
|
|
||||||
#RUN DEBIAN_FRONTEND=noninteractive apt-get install -y...
|
|
@ -1,4 +0,0 @@
|
|||||||
FROM debian:9
|
|
||||||
|
|
||||||
RUN apt-get update
|
|
||||||
#RUN DEBIAN_FRONTEND=noninteractive apt-get install -y...
|
|
@ -1,4 +0,0 @@
|
|||||||
1. Lookup kernel in https://snapshot.debian.org/package/linux*
|
|
||||||
2. Go to snapshot (e.g. https://snapshot.debian.org/archive/debian/20120612T040311Z/pool/main/l/linux/)
|
|
||||||
3. Checkout release version
|
|
||||||
4. ...
|
|
Loading…
Reference in New Issue
Block a user