github.com/fafucoder/cilium@v1.6.11/contrib/packaging/rpm/Dockerfile (about)

     1  FROM fedora:28
     2  
     3  LABEL maintainer="Tony Lambiris <tony@criticalstack.com>"
     4  
     5  RUN curl -sSL -o /etc/yum.repos.d/vbatts-bazel-fedora-28.repo \
     6  	https://copr.fedorainfracloud.org/coprs/vbatts/bazel/repo/fedora-28/vbatts-bazel-fedora-28.repo
     7  
     8  RUN dnf -y update && \
     9  	dnf -y install fedora-packager fedora-review golang go-bindata gettext \
    10  		git glibc-devel.x86_64 glibc-devel.i686 cmake bazel libtool wget \
    11  		clang make gcc-c++ elfutils-libelf-devel libstdc++-static && \
    12      mkdir -p /opt/cilium/
    13  
    14  WORKDIR /opt/cilium
    15  
    16  ADD . /opt/cilium
    17  
    18  VOLUME ["/output"]
    19  ENTRYPOINT /opt/cilium/create_rpm.sh