Skip to content

Commit

Permalink
Update mysql Dockerfile base image from ubuntu:trusty to ubuntu:jammy (
Browse files Browse the repository at this point in the history
  • Loading branch information
roger2hk authored Jul 12, 2023
1 parent c71288f commit 9914c79
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/deployment/kubernetes/mysql/image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM ubuntu:trusty
FROM ubuntu:jammy

# add our user and group first to make sure their IDs get assigned
# consistently, regardless of whatever dependencies get added
Expand All @@ -29,8 +29,8 @@ RUN rm -rf /var/lib/apt/lists/*

RUN apt-key adv --keyserver keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A 9334A25F8507EFA5

RUN echo "deb http://repo.percona.com/apt trusty main" > /etc/apt/sources.list.d/percona.list
RUN echo "deb-src http://repo.percona.com/apt trusty main" >> /etc/apt/sources.list.d/percona.list
RUN echo "deb http://repo.percona.com/apt jammy main" > /etc/apt/sources.list.d/percona.list
RUN echo "deb-src http://repo.percona.com/apt jammy main" >> /etc/apt/sources.list.d/percona.list

RUN { \
echo percona-server-server-${MYSQL_VERSION} percona-server-server/root_password password ''; \
Expand Down

0 comments on commit 9914c79

Please sign in to comment.