podman/Containerfile-nix
Sascha Grunert c21258b70e
Add podman static build
We’re now able to build a static podman binary based on a custom nix
derivation. This is integrated in cirrus as well, whereas a later target
would be to provide a self-contained static binary bundle which can be
installed on any Linux x64-bit system.

Fixes: https://github.com/containers/libpod/issues/1399

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-05-11 13:11:07 +02:00

11 lines
156 B
Docker

# vim: set syntax=dockerfile:
FROM nixos/nix:latest
RUN apk add --no-cache bash git
COPY . /work
WORKDIR work/nix
RUN nix-build
WORKDIR /
RUN rm -rf work