Skip to content

Instantly share code, notes, and snippets.

@saschagrunert
Last active March 10, 2020 10:39
Show Gist options
  • Save saschagrunert/406a16edc27810a3548119ed918b1083 to your computer and use it in GitHub Desktop.
Save saschagrunert/406a16edc27810a3548119ed918b1083 to your computer and use it in GitHub Desktop.
FROM debian:10
RUN apt-get update && apt-get install -y wget gnupg
RUN echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_10/ /' \
> /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
RUN wget -nv https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/Debian_10/Release.key -O- |\
apt-key add -
RUN apt-get update && apt-get install -y podman
RUN sed -i 's/driver = ""/driver = "vfs"/' /etc/containers/storage.conf
RUN echo 'events_logger = "file"' > /etc/containers/libpod.conf
RUN echo 'cgroup_manager = "cgroupfs"' >> /etc/containers/libpod.conf
@cpanato
Copy link

cpanato commented Mar 10, 2020

cool, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment