Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

Commit

Permalink
Merge pull request #3 from klausenbusk/v0.6.0
Browse files Browse the repository at this point in the history
Bump to v0.6.0
  • Loading branch information
dghubble authored Aug 23, 2017
2 parents b8cfa3f + ed4102b commit 5a06b2b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ ADD dist/portmap /opt/cni/bin/portmap
ADD dist/ptp /opt/cni/bin/ptp
ADD dist/tuning /opt/cni/bin/tuning
ADD dist/host-local /opt/cni/bin/host-local
ADD dist/vlan /opt/cni/bin/vlan

ADD install-cni.sh /install-cni.sh
ADD flannel.conf.default /flannel.conf.default
9 changes: 3 additions & 6 deletions scripts/build-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,11 @@ CURL="curl -sSf"
FLANNEL_CNI_ROOT=$(git rev-parse --show-toplevel)
IMAGE_NAME=quay.io/coreos/flannel-cni
VERSION=$($FLANNEL_CNI_ROOT/scripts/git-version)
CNI_VERSION="v0.5.2"
CNI_VERSION="v0.6.0"

mkdir -p dist
$CURL -L --retry 5 https://github.com/containernetworking/cni/releases/download/$CNI_VERSION/cni-amd64-$CNI_VERSION.tgz | tar -xz -C dist/
# For now we've get a checked in version of the plugin from calico. Eventually
# this should pull from upstream releases.
$CURL -L https://github.com/projectcalico/cni-plugin/releases/download/v1.9.0/portmap -o dist/portmap
chmod +x dist/portmap
$CURL -L --retry 5 https://github.com/containernetworking/plugins/releases/download/$CNI_VERSION/cni-plugins-amd64-$CNI_VERSION.tgz | tar -xz -C dist/

docker build --no-cache -t $IMAGE_NAME:$VERSION .
docker push $IMAGE_NAME:$VERSION
docker push $IMAGE_NAME:$VERSION

0 comments on commit 5a06b2b

Please sign in to comment.