diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-05-11 15:15:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-11 15:15:18 +0200 |
commit | d473e6e35120ad254a62301a89be26e5ad589752 (patch) | |
tree | 99f35e8d868502febe889de3713f37fad58e3fcb /Containerfile-nix | |
parent | 01f747fdc3b601492d496536ced1386172c4e3d8 (diff) | |
parent | c21258b70ed91ab5ff8b1d345123fed1011a49c9 (diff) | |
download | podman-d473e6e35120ad254a62301a89be26e5ad589752.tar.gz podman-d473e6e35120ad254a62301a89be26e5ad589752.tar.bz2 podman-d473e6e35120ad254a62301a89be26e5ad589752.zip |
Merge pull request #5566 from openSUSE/static-binary
Add podman static build
Diffstat (limited to 'Containerfile-nix')
-rw-r--r-- | Containerfile-nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Containerfile-nix b/Containerfile-nix new file mode 100644 index 000000000..5eea71af6 --- /dev/null +++ b/Containerfile-nix @@ -0,0 +1,10 @@ +# 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 |