summaryrefslogtreecommitdiff
path: root/Dockerfile.fedora
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2019-08-20 16:45:23 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2019-08-20 16:59:34 +0200
commitc6a5bbab94f389d7ad0ad3468a50ab94c9db9e27 (patch)
tree9eba04433fb47cec4becc29f9485d92fe1e3b4c2 /Dockerfile.fedora
parent34fc1d09d245cbd0d922562860f639667c8641d6 (diff)
downloadpodman-c6a5bbab94f389d7ad0ad3468a50ab94c9db9e27.tar.gz
podman-c6a5bbab94f389d7ad0ad3468a50ab94c9db9e27.tar.bz2
podman-c6a5bbab94f389d7ad0ad3468a50ab94c9db9e27.zip
Dockerfile*: fix build for CNI plugins
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'Dockerfile.fedora')
-rw-r--r--Dockerfile.fedora5
1 files changed, 3 insertions, 2 deletions
diff --git a/Dockerfile.fedora b/Dockerfile.fedora
index 48ca78bb5..0f82fdc5c 100644
--- a/Dockerfile.fedora
+++ b/Dockerfile.fedora
@@ -31,12 +31,13 @@ RUN dnf -y install btrfs-progs-devel \
# Install CNI plugins
ENV CNI_COMMIT 485be65581341430f9106a194a98f0f2412245fb
+ENV
RUN set -x \
- && export GOPATH="$(mktemp -d)" \
+ && export GOPATH="$(mktemp -d)" GOCACHE="$(mktemp -d)" \
&& git clone https://github.com/containernetworking/plugins.git "$GOPATH/src/github.com/containernetworking/plugins" \
&& cd "$GOPATH/src/github.com/containernetworking/plugins" \
&& git checkout -q "$CNI_COMMIT" \
- && ./build.sh \
+ && ./build_linux.sh \
&& mkdir -p /usr/libexec/cni \
&& cp bin/* /usr/libexec/cni \
&& rm -rf "$GOPATH"