diff options
Diffstat (limited to 'Dockerfile.in')
| -rw-r--r-- | Dockerfile.in | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/Dockerfile.in b/Dockerfile.in index f3aacc0..60a49cf 100644 --- a/Dockerfile.in +++ b/Dockerfile.in @@ -1,11 +1,16 @@ FROM centos:7 -RUN yum install -y gcc systemtap yum-utils -ENV KERNEL KERNELVERSION -RUN yum install -y kernel-${KERNEL} kernel-devel-${KERNEL} -RUN debuginfo-install -y kernel-${KERNEL} +RUN sed -i 's/enabled=0/enabled=1/' /etc/yum.repos.d/CentOS-{Vault,Debuginfo}.repo +RUN yum install -y gcc systemtap yum-utils wget +ENV kernel KERNEL +RUN yum install -y kernel-${kernel} kernel-devel-${kernel} +RUN debuginfo-install -y kernel-${kernel} WORKDIR /ioriot ADD ./ /ioriot + +RUN mkdir -p /ioriot/systemtap/downloads RUN mkdir -p /opt/ioriot + VOLUME /opt +VOLUME /ioriot/systemtap/downloads |
