From 86cf2ada57be7e553b78e887f9dc98a7ee598c93 Mon Sep 17 00:00:00 2001 From: Andrew Novoselac Date: Tue, 2 Jul 2024 14:08:37 -0400 Subject: [PATCH] mysql-client: Use default-mysql-client instead of default-libmysqlclient-dev Rails apps using structure.sql need to use mysqldump when setting up the db and running migrations. That is provided by default-mysql-client. --- features/mysql-client/devcontainer-feature.json | 2 +- features/mysql-client/install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/features/mysql-client/devcontainer-feature.json b/features/mysql-client/devcontainer-feature.json index 148b400..5afd012 100644 --- a/features/mysql-client/devcontainer-feature.json +++ b/features/mysql-client/devcontainer-feature.json @@ -1,6 +1,6 @@ { "id": "mysql-client", - "version": "1.0.0", + "version": "1.1.0", "name": "MySQL Client", "description": "Installs needed client-side dependencies for Rails apps using MySQL" } diff --git a/features/mysql-client/install.sh b/features/mysql-client/install.sh index 6dbc86f..532f8e1 100755 --- a/features/mysql-client/install.sh +++ b/features/mysql-client/install.sh @@ -1,6 +1,6 @@ #!/bin/sh set -e -apt-get update -y && apt-get -y install --no-install-recommends default-libmysqlclient-dev +apt-get update -y && apt-get -y install --no-install-recommends default-mysql-client rm -rf /var/lib/apt/lists/*