-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Docker - upgrade to Debian Buster #6833
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,7 +2,7 @@ FROM vitess/bootstrap:common | |
|
|
||
| # Install Percona 5.7 | ||
| RUN for i in $(seq 1 10); do apt-key adv --no-tty --keyserver keys.gnupg.net --recv-keys 9334A25F8507EFA5 && break; done && \ | ||
| add-apt-repository 'deb http://repo.percona.com/apt stretch main' && \ | ||
| add-apt-repository 'deb http://repo.percona.com/apt buster main' && \ | ||
| { \ | ||
| echo debconf debconf/frontend select Noninteractive; \ | ||
| echo percona-server-server-5.7 percona-server-server/root_password password 'unused'; \ | ||
|
|
@@ -11,7 +11,7 @@ RUN for i in $(seq 1 10); do apt-key adv --no-tty --keyserver keys.gnupg.net --r | |
| apt-get update && \ | ||
| apt-get install -y --no-install-recommends \ | ||
| percona-server-server-5.7 \ | ||
| libperconaserverclient18.1-dev percona-xtrabackup-24 && \ | ||
|
||
| libperconaserverclient20-dev percona-xtrabackup-24 && \ | ||
| rm -rf /var/lib/apt/lists/* | ||
|
|
||
| # Bootstrap Vitess | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,7 +23,7 @@ script="go get vitess.io/vitess/go/cmd/vtctlclient && \ | |
| go install github.com/openark/orchestrator/go/cmd/orchestrator" | ||
|
|
||
| echo "Building orchestrator..." | ||
| docker run -ti --name=vt_orc_build golang:1.14.4-stretch bash -c "$script" | ||
| docker run -ti --name=vt_orc_build golang:1.14.4-buster bash -c "$script" | ||
|
||
| docker cp vt_orc_build:/go/bin/orchestrator $tmpdir | ||
| docker cp vt_orc_build:/go/bin/vtctlclient $tmpdir | ||
| docker cp vt_orc_build:/go/src/github.com/openark/orchestrator/resources $tmpdir | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if we need this at all. I've only backported it from #6129
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@harshit-gangal should be ok to change the jdk version from openjdk-8 to default-jdk?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need to keep it at jdk8 otherwise java code will not compile. Any reason for changing this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately there isn't
openjdk-8-jdkavailable for Buster.In
stretch,default-jdkpoints to the Java runtime, or Java compatible development kit recommended for this architecture, which isopenjdk-8-jdkforamd64(see doc).In
buster,default-jdkpoints to the Java runtime, or Java compatible development kit recommended for this architecture, which isopenjdk-11-jdkforamd64(see doc).