File: Dockerfile

package info (click to toggle)
golang-github-containers-buildah 1.42.1%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,176 kB
  • sloc: sh: 2,572; makefile: 249; perl: 187; asm: 16; awk: 12; ansic: 1
file content (9 lines) | stat: -rw-r--r-- 535 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
FROM fedora
RUN dnf -y update && dnf -y clean all
RUN dnf -y install btrfs-progs-devel containers-common golang go-md2man gpgme-devel libassuan-devel libseccomp-devel make net-tools runc shadow-utils glibc-static libselinux-static libseccomp-static && dnf -y clean all
COPY . /go/src/github.com/containers/buildah
RUN env GOPATH=/go make -C /go/src/github.com/containers/buildah clean all install
RUN sed -i -r -e 's,driver = ".*",driver = "vfs",g' /etc/containers/storage.conf
ENV BUILDAH_ISOLATION chroot
WORKDIR /root
CMD /bin/bash