Giter VIP home page Giter VIP logo

docker-runc-tags's Introduction

wut???

See https://github.com/tianon/docker-runc-tags/tags.

how?

17.06 and newer

https://github.com/docker/docker/releases

Choose a version:

$ git ls-remote --tags https://github.com/docker/docker-ce.git 'refs/tags/v*' \
	| cut -d/ -f3 \
	| cut -d'^' -f1 \
	| sort -uV

Get the relevant commit:

$ version='v17.06.0-ce-rc5'
$ wget -qO- "https://github.com/docker/docker-ce/raw/$version/components/engine/hack/dockerfile/binaries-commits" \
	| grep -E '^RUNC_COMMIT=' \
	| cut -d= -f2

17.05 and older

https://github.com/docker/docker/releases

Choose a version:

$ git ls-remote --tags https://github.com/docker/docker.git 'refs/tags/v*' \
	| cut -d/ -f3 \
	| cut -d'^' -f1 \
	| sort -uV

Get the relevant commit:

$ version='v17.05.0-ce'
$ wget -qO- "https://github.com/docker/docker/raw/$version/hack/dockerfile/binaries-commits" \
	| grep -E '^RUNC_COMMIT=' \
	| cut -d= -f2

making the tag

Get the commit object:

$ commit='9df8b306d01f59d3a8029be411de015b7304dd8f'
$ git fetch --no-tags https://github.com/opencontainers/runc.git refs/heads/*:refs/remotes/oci-runc/*
$ git fetch --no-tags https://github.com/docker/runc.git refs/heads/*:refs/remotes/docker-runc/*
$ git show "$commit" # to verify it actually exists

Push it!

$ tag="${version#v}"; tag="${tag//-ce/}"; tag="docker-$tag"
$ echo "$tag"
$ git push origin "$commit":"refs/tags/$tag"

docker-runc-tags's People

Contributors

tianon avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.