Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add golang overload (1.2, 1.2.1, 1.2.2, 1.3, 1.3.1) #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 14, 2014

Conversation

tianon
Copy link
Member

@tianon tianon commented Aug 14, 2014

Later, I want to make that GOLANG_CROSSPLATFORMS list in */cross/Dockerfile automated, but this will do just swell for now. Thinking it over, I realized it really will be better to support a mountain of Go versions here since they sometimes have minor incompatibilities between them and it's useful for projects to pin on a particular minor version instead of just the major releases.

@tianon
Copy link
Member Author

tianon commented Aug 14, 2014

$ ./update.sh
+ sed -ri 's/^(ENV GOLANG_VERSION) .*/\1 1.2/' 1.2/Dockerfile
+ sed -ri 's/^(FROM golang):.*/\1:1.2/' 1.2/cross/Dockerfile 1.2/onbuild/Dockerfile
+ sed -ri 's/^(ENV GOLANG_VERSION) .*/\1 1.2.1/' 1.2.1/Dockerfile
+ sed -ri 's/^(FROM golang):.*/\1:1.2.1/' 1.2.1/cross/Dockerfile 1.2.1/onbuild/Dockerfile
+ sed -ri 's/^(ENV GOLANG_VERSION) .*/\1 1.2.2/' 1.2.2/Dockerfile
+ sed -ri 's/^(FROM golang):.*/\1:1.2.2/' 1.2.2/cross/Dockerfile 1.2.2/onbuild/Dockerfile
+ sed -ri 's/^(ENV GOLANG_VERSION) .*/\1 1.3/' 1.3/Dockerfile
+ sed -ri 's/^(FROM golang):.*/\1:1.3/' 1.3/cross/Dockerfile 1.3/onbuild/Dockerfile
+ sed -ri 's/^(ENV GOLANG_VERSION) .*/\1 1.3.1/' 1.3.1/Dockerfile
+ sed -ri 's/^(FROM golang):.*/\1:1.3.1/' 1.3.1/cross/Dockerfile 1.3.1/onbuild/Dockerfile
$ ./generate-stackbrew-library.sh
# maintainer: InfoSiftr <[email protected]> (@infosiftr)

1.2: git://github.com/docker-library/golang@40bd84e4bcc278281595174a60e7b4451d972dee 1.2

1.2-onbuild: git://github.com/docker-library/golang@40bd84e4bcc278281595174a60e7b4451d972dee 1.2/onbuild

1.2-cross: git://github.com/docker-library/golang@40bd84e4bcc278281595174a60e7b4451d972dee 1.2/cross

1.2.1: git://github.com/docker-library/golang@40bd84e4bcc278281595174a60e7b4451d972dee 1.2.1

1.2.1-onbuild: git://github.com/docker-library/golang@40bd84e4bcc278281595174a60e7b4451d972dee 1.2.1/onbuild

1.2.1-cross: git://github.com/docker-library/golang@40bd84e4bcc278281595174a60e7b4451d972dee 1.2.1/cross

1.2.2: git://github.com/docker-library/golang@40bd84e4bcc278281595174a60e7b4451d972dee 1.2.2

1.2.2-onbuild: git://github.com/docker-library/golang@40bd84e4bcc278281595174a60e7b4451d972dee 1.2.2/onbuild

1.2.2-cross: git://github.com/docker-library/golang@40bd84e4bcc278281595174a60e7b4451d972dee 1.2.2/cross

1.3: git://github.com/docker-library/golang@40bd84e4bcc278281595174a60e7b4451d972dee 1.3

1.3-onbuild: git://github.com/docker-library/golang@40bd84e4bcc278281595174a60e7b4451d972dee 1.3/onbuild

1.3-cross: git://github.com/docker-library/golang@40bd84e4bcc278281595174a60e7b4451d972dee 1.3/cross

1.3.1: git://github.com/docker-library/golang@40bd84e4bcc278281595174a60e7b4451d972dee 1.3.1
1: git://github.com/docker-library/golang@40bd84e4bcc278281595174a60e7b4451d972dee 1.3.1
latest: git://github.com/docker-library/golang@40bd84e4bcc278281595174a60e7b4451d972dee 1.3.1

1.3.1-onbuild: git://github.com/docker-library/golang@40bd84e4bcc278281595174a60e7b4451d972dee 1.3.1/onbuild
1-onbuild: git://github.com/docker-library/golang@40bd84e4bcc278281595174a60e7b4451d972dee 1.3.1/onbuild
onbuild: git://github.com/docker-library/golang@40bd84e4bcc278281595174a60e7b4451d972dee 1.3.1/onbuild

1.3.1-cross: git://github.com/docker-library/golang@40bd84e4bcc278281595174a60e7b4451d972dee 1.3.1/cross
1-cross: git://github.com/docker-library/golang@40bd84e4bcc278281595174a60e7b4451d972dee 1.3.1/cross
cross: git://github.com/docker-library/golang@40bd84e4bcc278281595174a60e7b4451d972dee 1.3.1/cross

@yosifkit
Copy link
Member

LGTM

yosifkit added a commit that referenced this pull request Aug 14, 2014
Add golang overload (1.2, 1.2.1, 1.2.2, 1.3, 1.3.1)
@yosifkit yosifkit merged commit 48e7b9c into docker-library:master Aug 14, 2014
@yosifkit yosifkit deleted the moar-golang branch August 14, 2014 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants