Skip to content

Instantly share code, notes, and snippets.

@cjeanner
Created September 3, 2018 12:21
Show Gist options
  • Save cjeanner/6f97b527a3327c313bc8d9bc8131d0b1 to your computer and use it in GitHub Desktop.
Save cjeanner/6f97b527a3327c313bc8d9bc8131d0b1 to your computer and use it in GitHub Desktop.
podman-builder
FROM centos:latest
RUN yum update -y && \
yum install -y atomic-registries \
btrfs-progs-devel \
conmon \
containernetworking-cni \
device-mapper-devel \
git \
glib2-devel \
glibc-devel \
glibc-static \
go \
golang-github-cpuguy83-go-md2man \
gpgme-devel \
iptables \
libassuan-devel \
libgpg-error-devel \
libseccomp-devel \
libselinux-devel \
make \
ostree-devel \
pkgconfig \
runc \
skopeo-containers && \
yum clean all
ENV GOPATH=/opt/go
RUN mkdir -p $GOPATH/src/github.com/containers
RUN git clone https://github.com/containers/libpod.git $GOPATH/src/github.com/containers/libpod
WORKDIR $GOPATH/src/github.com/containers/libpod
RUN make install.tools
RUN make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment